aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 22418576a0..a00eb511f2 100644
--- a/config.h.in
+++ b/config.h.in
@@ -47,6 +47,12 @@
#undef STACK_PROTECTOR_LEVEL
#endif
+/* When PIC is defined and SHARED isn't defined, we are building PIE
+ by default. */
+#if defined PIC && !defined SHARED
+# define BUILD_PIE_DEFAULT
+#endif
+
/* Define if the regparm attribute shall be used for local functions
(gcc on ix86 only). */
#undef USE_REGPARMS