summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index f94ae17a7fe..2b893229310 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1223,6 +1223,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define DEFAULT_PCC_STRUCT_RETURN 1
#endif
+/* Default PIE to -fPIE. */
+#ifndef DEFAULT_FLAG_PIE
+# define DEFAULT_FLAG_PIE 2
+#endif
+
+
#ifdef GCC_INSN_FLAGS_H
/* Dependent default target macro definitions