aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-25 08:59:46 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-25 09:11:08 +0100
commit09168e6f845ef025c5b3063ce20cb456b217d292 (patch)
tree7600a08f3b19464b4c364173dcd41278ea1bc87f /configure
parent3fa0d38c337880bf6e63207e6279d6cabd1e7921 (diff)
downloadvis-09168e6f845ef025c5b3063ce20cb456b217d292.tar.gz
vis-09168e6f845ef025c5b3063ce20cb456b217d292.tar.xz
configure: fix probing of hardening flags
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 1761cbd..d3c59ac 100755
--- a/configure
+++ b/configure
@@ -221,9 +221,9 @@ tryflag CFLAGS_AUTO -Os
# Try hardening flags
tryflag CFLAGS_AUTO -fPIE
tryflag CFLAGS_AUTO -fstack-protector-all
-tryldflag LDFLAGS_AUTO "-z now"
-tryldflag LDFLAGS_AUTO "-z relro"
-tryldflag LDFLAGS_AUTO -pie
+tryldflag LDFLAGS_AUTO -Wl,-z,now
+tryldflag LDFLAGS_AUTO -Wl,-z,relro
+tryldflag LDFLAGS_AUTO -Wl,-pie
have_pkgconfig=no
printf "checking for pkg-config... "