summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-27 23:21:46 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-27 23:21:46 +0200
commitdb23e0680b30d8d428550260ff48c3dbd18908f1 (patch)
treeeabe1df2ce66797b491e0a3b19e4c779a30b7e02
parent9f66db0d1234425b8e0900826a06e0a6092f2c4a (diff)
Disable position-independant compilation
as now enabled automatically by some distributions... Reported and tested by Almudena Garcia <liberamenso10000@gmail.com> * Makefile.am (AM_CFLAGS): Add -no-pie -fno-pic.
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 240c1070..83ed57c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -74,6 +74,10 @@ if disable_smashing_stack_protector
AM_CFLAGS += \
-fno-stack-protector
endif
+
+# We do not support or need position-independent
+AM_CFLAGS += \
+ -no-pie -fno-pic
#
# Silent build support.