projects/aports·blob master · refs

25 lines · 1.2 KiB

1Patch the specs file to no longer depend on a second libstdc++ build against
2picolibc.
3
4Currently libstdc++ is build as part of the g++-cross-embedded packages against
5newlib and there is no second package. Using libstdc++ functions in conjunction
6with picolibc may not work until there is a second libstdc++ build against
7picolibc. But without this patch, even code that does not link against libstdc++
8will fail to build.
9
10--- a/meson.build 2026-07-31 05:29:08.000000000 +0200
11+++ b/meson.build 2026-08-10 07:09:06.147284968 +0200
12@@ -2081,13 +2081,6 @@ else
13
14 gcc_dumpmachine = run_command(cc.cmd_array() + ['-dumpmachine'], check : true).stdout().split('\n')[0]
15
16- cxxconfig_path_postfix = '..' / gcc_dumpmachine / 'include' / 'c++' / '%(version)' / gcc_dumpmachine / '%M'
17- cxxconfig_isystem_prefix = isystem_prefix / cxxconfig_path_postfix
18- cxxconfig_isystem_buildtype = isystem_buildtype / cxxconfig_path_postfix
19- cxxconfig_isystem_gen = isystem_gen / cxxconfig_path_postfix
20-
21- specs_isystem = specs_isystem + ' -isystem ' + specs_option_format.format(cxxconfig_isystem_prefix, cxxconfig_isystem_buildtype, cxxconfig_isystem_gen)
22-
23 #
24 # Build the non-multilib -L value
25 #