diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index 6f87a57..66ff5ec 100755 --- a/debian/rules +++ b/debian/rules @@ -14,13 +14,15 @@ # # export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk -export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) -export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) +#export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +#export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +#export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +#export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -LDFLAGS+=-Wl,--as-needed +#LDFLAGS+=-Wl,--as-needed %: dh $@ --with=autoreconf,scour |