diff options
Diffstat (limited to 'binutils-2.25/ld/configure.ac')
-rw-r--r-- | binutils-2.25/ld/configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils-2.25/ld/configure.ac b/binutils-2.25/ld/configure.ac index 1bddfc9f..e9edb7ff 100644 --- a/binutils-2.25/ld/configure.ac +++ b/binutils-2.25/ld/configure.ac @@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) AC_SUBST(TARGET_SYSTEM_ROOT) AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) +AC_ARG_ENABLE([poison-system-directories], + AS_HELP_STRING([--enable-poison-system-directories], + [warn for use of native system library directories]),, + [enable_poison_system_directories=no]) +if test "x${enable_poison_system_directories}" = "xyes"; then + AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], + [1], + [Define to warn for use of native system library directories]) +fi + dnl Use --enable-gold to decide if this linker should be the default. dnl "install_as_default" is set to false if gold is the default linker. dnl "installed_linker" is the installed BFD linker name. |