Commit 39329232 authored by Christian Kastner's avatar Christian Kastner

Make use of dpkg-buildflags (for hardening)

parent 1a73dfa4
......@@ -15,7 +15,10 @@ export LSUBVER
PYVERS = $(shell pyversions -r -v)
export PYVERS
CFLAGS += -Wall -Wno-unused
# We override dh_auto_build, so we need to set these
export CFLAGS += $(shell dpkg-buildflags --get CFLAGS) -Wall -Wno-unused
export LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
export CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
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