Commit bc1cd194 authored by Christian Kastner's avatar Christian Kastner

Do not manually export build flags, let 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
include /usr/share/dpkg/
# 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