From 76acde30382254f7ca51af67ea91433719080edd Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 24 Feb 2017 13:11:03 +0100 Subject: Check for -z,defs, -z,relro, -fPIC, -fPIE before using them On windows those aren't needed because the link results are no ELF files and all code is position independent anyway. gcc then complains about them, which is in turn caught by -Werror. Change-Id: Ie3d600b7c430698fc3d867a986a4d48f7ad1bbec Reviewed-by: Christian Kandeler --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6fe525c6..36c3cc74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-04-27 Ulf Hermann + + * configure.ac: Check if -fPIC, -fPIE, -Wl,-z,defs, + and -Wl,-z,relro are supported by the compiler. + 2017-04-27 Ulf Hermann * configure.ac: Drop checks for memrchr, rawmemchr, mempcpy, argp. -- cgit v1.2.3