summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorKel Modderman <kel@otaku42.de>2012-04-08 21:57:48 +0000
committerAndrew Shadura <andrewsh@debian.org>2016-07-20 19:04:11 +0200
commitd13a20d232dc76e286c0cfd53a1eab647c9850a3 (patch)
tree3ac6479c9f44238c08804dd9b00ad11fece7fd42 /debian/rules
parent9b7fc00f3fa84cc1981eb7e5a2acaf04846668a7 (diff)
remove DEB_BUILD_OPTIONS=noopt handling from debian/rules, no longer
required since dpkg-buildflags honors it.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 0 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules
index 417036f..edec05e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,14 +9,6 @@ LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS),--as-needed
BINDIR = /sbin
V = 0
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
- CXXFLAGS += -O0
-else
- CFLAGS += -O2
- CXXFLAGS += -O2
-endif
-
export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS BINDIR V
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)