summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-01-05 03:14:33 +0100
committerAxel Beckert <abe@deuxchevaux.org>2013-01-05 03:14:33 +0100
commita9ee601d107aff34ff1f749bc1e519a11b320d73 (patch)
tree394c4233f5da1cf2b05f190abf637ecb2db425d2
parentc0cb3e2aaf9386f0fd5df65a087d37b498ca36ed (diff)
downloadzsh-a9ee601d107aff34ff1f749bc1e519a11b320d73.tar.gz
zsh-a9ee601d107aff34ff1f749bc1e519a11b320d73.zip
Use DPKG_EXPORT_BUILDFLAGS instead of exporting flags manually
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 95ad79af9..ac0621119 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,8 @@ ifeq (zsh-beta,$(package))
snapshot_date := $(shell dpkg-parsechangelog | sed -n '/^Version: [0-9.][0-9.]*.*+20[0-9][0-9]\([0-9][0-9][0-9][0-9]\)-[0-9][0-9]*$$/ {s//\1/;p}')
endif
+DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-export CFLAGS LDFLAGS CPPFLAGS
H_LDFLAGS = $(LDFLAGS)
CFLAGS += -Wall -g