diff options
author | Caroline Tice <cmtice@google.com> | 2016-02-29 22:49:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-02-29 22:49:18 +0000 |
commit | 3a800d7d75ceba88429096186a2150a2d938334a (patch) | |
tree | 9d9c36a627f01c31b077cd8253acc681d5cc4bbf /gcc-4.9/gcc/configure | |
parent | b9de1157289455b0ca26daff519d4a0ddcd1fa13 (diff) | |
parent | 817a788f9eb01eff367191401d48f2aaa8d4f428 (diff) | |
download | toolchain_gcc-3a800d7d75ceba88429096186a2150a2d938334a.tar.gz toolchain_gcc-3a800d7d75ceba88429096186a2150a2d938334a.tar.bz2 toolchain_gcc-3a800d7d75ceba88429096186a2150a2d938334a.zip |
Merge "Unify ChromeOS and Android versions of GCC."
Diffstat (limited to 'gcc-4.9/gcc/configure')
-rwxr-xr-x | gcc-4.9/gcc/configure | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/configure b/gcc-4.9/gcc/configure index 746c37556..436278b81 100755 --- a/gcc-4.9/gcc/configure +++ b/gcc-4.9/gcc/configure @@ -932,6 +932,7 @@ with_system_zlib enable_maintainer_mode enable_link_mutex enable_version_specific_runtime_libs +enable_poison_system_directories enable_canonical_prefixes enable_plugin enable_host_shared @@ -1665,6 +1666,8 @@ Optional Features: --enable-version-specific-runtime-libs specify that runtime libraries should be installed in a compiler-specific directory + --enable-poison-system-directories + warn for use of native system header directories --enable-canonical-prefixes enable or disable prefix canonicalization --enable-plugin enable plugin support @@ -27020,7 +27023,7 @@ if test $gcc_cv_ld_pie = yes ; then # Check if linker supports -pie option with copy reloc case "$target" in *android*) - ;; + ;; i?86-*-linux* | x86_64-*-linux*) cat > conftest1.s <<EOF .globl a_glob @@ -27945,6 +27948,19 @@ $as_echo "#define ENABLE_CANONICAL_PREFIXES 1" >>confdefs.h fi +# Check whether --enable-poison-system-directories was given. +if test "${enable_poison_system_directories+set}" = set; then : + enableval=$enable_poison_system_directories; +else + enable_poison_system_directories=no +fi + +if test "x${enable_poison_system_directories}" = "xyes"; then + +$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h + +fi + # Substitute configuration variables |