From db23e0680b30d8d428550260ff48c3dbd18908f1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 27 Jun 2018 23:21:46 +0200 Subject: Disable position-independant compilation as now enabled automatically by some distributions... Reported and tested by Almudena Garcia * Makefile.am (AM_CFLAGS): Add -no-pie -fno-pic. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3