From 4435cd62e237644e91cbdaecb678a5da60c079c2 Mon Sep 17 00:00:00 2001 From: Eloston Date: Tue, 13 Mar 2018 08:39:46 +0000 Subject: [PATCH] GN flags: Revert use_custom_libcxx=false on certain base bundles On Debian stretch, libstdc++ is too old to properly build the code. So, use the bundled libc++ and libc++abi libraries instead. To prevent further problems with the system's standard libraries, also use the bundled libc++ and libc++abi libraries on linux_portable. --- resources/config_bundles/archlinux/gn_flags.map | 1 + resources/config_bundles/linux_portable/gn_flags.map | 1 - resources/config_bundles/linux_rooted/gn_flags.map | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/config_bundles/archlinux/gn_flags.map b/resources/config_bundles/archlinux/gn_flags.map index 1af4e672..29a14f96 100644 --- a/resources/config_bundles/archlinux/gn_flags.map +++ b/resources/config_bundles/archlinux/gn_flags.map @@ -1,2 +1,3 @@ custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:default" +use_custom_libcxx=false diff --git a/resources/config_bundles/linux_portable/gn_flags.map b/resources/config_bundles/linux_portable/gn_flags.map index b08591d5..80adcdd2 100644 --- a/resources/config_bundles/linux_portable/gn_flags.map +++ b/resources/config_bundles/linux_portable/gn_flags.map @@ -3,7 +3,6 @@ clang_use_chrome_plugins=false is_clang=true linux_use_bundled_binutils=false optimize_for_size=false -use_custom_libcxx=false use_gtk3=true use_jumbo_build=true use_kerberos=false diff --git a/resources/config_bundles/linux_rooted/gn_flags.map b/resources/config_bundles/linux_rooted/gn_flags.map index 532ce999..e2679750 100644 --- a/resources/config_bundles/linux_rooted/gn_flags.map +++ b/resources/config_bundles/linux_rooted/gn_flags.map @@ -9,7 +9,6 @@ linux_use_bundled_binutils=false optimize_for_size=false use_allocator="none" use_cups=true -use_custom_libcxx=false use_gold=true use_gtk3=true use_jumbo_build=true