diff --git a/debian/rules b/debian/rules index 07016a7..504de40 100755 --- a/debian/rules +++ b/debian/rules @@ -2,12 +2,12 @@ include /usr/share/quilt/quilt.make +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = -Wall -LDFLAGS = -Wl,--as-needed - ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else