Commit bc1cd194 authored by Christian Kastner's avatar Christian Kastner

Do not manually export build flags, let buildflags.mk do it

parent 2793d53d
......@@ -15,10 +15,12 @@ export LSUBVER
PYVERS = $(shell pyversions -r -v)
export PYVERS
# 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)
# Export CFLAGS, CPPFLAGS, and LDFLAGS from dpkg
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# Extend build flags
CFLAGS += -Wall -Wno-unused
%:
......
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