summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2013-04-26 23:02:52 +0200
committerYves-Alexis Perez <corsac@debian.org>2013-04-26 23:02:52 +0200
commit2a08dbb83236b59b65fac6a184ffec5ecd03f4e7 (patch)
tree747fd1dd5b45229607485488334656aa402b33bf /debian/rules
parenta6ba5af4e0b1b45bfa7de4a86c154ee1952fe915 (diff)
downloadvyos-strongswan-2a08dbb83236b59b65fac6a184ffec5ecd03f4e7.tar.gz
vyos-strongswan-2a08dbb83236b59b65fac6a184ffec5ecd03f4e7.zip
Update build flags
- build using all hardening flags. - use -Wl,--as-needed -Wl,-O1 for LDFLAGS.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 0ee6bbbfa..0ad2f5b86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1
#export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs
-export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
CONFIGUREARGS := --libdir=/usr/lib --libexecdir=/usr/lib \
--enable-ldap --enable-curl \