From cf2ecbb62ba7dc973999911fdfd25146f245a7a6 Mon Sep 17 00:00:00 2001 From: Alexander Deynichenko Date: Tue, 26 Feb 2013 06:24:16 +0400 Subject: [PATCH] added DPKG_BUILDFLAGS option --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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