summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/ldmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/ldmain.c')
-rw-r--r--binutils-2.25/ld/ldmain.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils-2.25/ld/ldmain.c b/binutils-2.25/ld/ldmain.c
index bc24957b..c4e5e152 100644
--- a/binutils-2.25/ld/ldmain.c
+++ b/binutils-2.25/ld/ldmain.c
@@ -266,6 +266,13 @@ main (int argc, char **argv)
command_line.warn_mismatch = TRUE;
command_line.warn_search_mismatch = TRUE;
command_line.check_section_addresses = -1;
+ command_line.warn_poison_system_directories =
+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
+ TRUE;
+#else
+ FALSE;
+#endif
+ command_line.error_poison_system_directories = FALSE;
/* We initialize DEMANGLING based on the environment variable
COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the