1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[gn build] fix bug in fb0b19c3de3b

Since __config is no longer in the concatenated generated __config_site,
it now needs to be copied.

(Also fix a comment typo while here.)
This commit is contained in:
Nico Weber 2021-04-13 09:06:11 -04:00
parent 07ed27e235
commit 50f9ad1921

View File

@ -6,7 +6,7 @@ libcxx_generated_include_dir = "$root_build_dir/include/c++/v1"
# This is a bit weird. For now, we assume that __config_site is identical
# in all toolchains, and only copy it (and all other libcxx headers)
# to 'include' in the root build dir, so that it's the same for all toolchains.
# Maybe we wnt to make this per-toolchain eventually (and then use root_out_dir
# Maybe we want to make this per-toolchain eventually (and then use root_out_dir
# in libcxx_generated_include_dir) -- e.g. for cross-builds that for example
# use for-linux-configured libc++ for the host build but for-windows-configured
# libc++ for the target build.
@ -64,6 +64,7 @@ if (current_toolchain == default_toolchain) {
"__bits",
"__bsd_locale_defaults.h",
"__bsd_locale_fallbacks.h",
"__config",
"__debug",
"__errc",
"__functional_03",