| 1 | Patch the specs file to no longer depend on a second libstdc++ build against
|
| 2 | picolibc.
|
| 3 |
|
| 4 | Currently libstdc++ is build as part of the g++-cross-embedded packages against
|
| 5 | newlib and there is no second package. Using libstdc++ functions in conjunction
|
| 6 | with picolibc may not work until there is a second libstdc++ build against
|
| 7 | picolibc. But without this patch, even code that does not link against libstdc++
|
| 8 | will fail to build.
|
| 9 |
|
| 10 | |
| 11 | |
| 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 | #
|