diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-27 23:21:46 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-27 23:21:46 +0200 |
commit | db23e0680b30d8d428550260ff48c3dbd18908f1 (patch) | |
tree | eabe1df2ce66797b491e0a3b19e4c779a30b7e02 /Makefile.am | |
parent | 9f66db0d1234425b8e0900826a06e0a6092f2c4a (diff) | |
download | gnumach-db23e0680b30d8d428550260ff48c3dbd18908f1.tar.gz gnumach-db23e0680b30d8d428550260ff48c3dbd18908f1.tar.bz2 gnumach-db23e0680b30d8d428550260ff48c3dbd18908f1.zip |
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
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. |