Commit 7d66941a authored by Mike Gabriel's avatar Mike Gabriel

debian/rules: Use buildflags.mk from dpkg-dev. Enable bindnow hardening flag.

parent 56f776ce
...@@ -2,10 +2,9 @@ ...@@ -2,10 +2,9 @@
NULL = NULL =
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) DPKG_EXPORT_BUILDFLAGS = 1
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) include /usr/share/dpkg/buildflags.mk
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
export LIBDIR = "/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)" export LIBDIR = "/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)"
export INCLUDEDIR = "/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)" export INCLUDEDIR = "/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment