diff options
Diffstat (limited to 'gcc-4.9/gcc/configure')
-rwxr-xr-x | gcc-4.9/gcc/configure | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/gcc-4.9/gcc/configure b/gcc-4.9/gcc/configure index 746c37556..a16ecab61 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 @@ -27049,7 +27052,8 @@ EOF esac fi fi - +# Disable gcc linker PIE support with copy reloc +gcc_cv_ld_pie_copyreloc=no cat >>confdefs.h <<_ACEOF #define HAVE_LD_PIE_COPYRELOC `if test x"$gcc_cv_ld_pie_copyreloc" = xyes; then echo 1; else echo 0; fi` _ACEOF @@ -27945,6 +27949,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 |