From: Sebastian Harl Date: Tue, 5 Jan 2021 22:14:40 +0000 (+0100) Subject: Don't update CFLAGS if DEB_BUILD_OPTIONS contains noopt. X-Git-Tag: tig-2.5.5-1~5 X-Git-Url: https://git.tokkee.org/?p=pkg-tig.git;a=commitdiff_plain;h=1aff04a3fe072056fcd931631c97b839005394e8 Don't update CFLAGS if DEB_BUILD_OPTIONS contains noopt. This has been deprecated. --- diff --git a/debian/rules b/debian/rules index dafdc00..92ca06f 100755 --- a/debian/rules +++ b/debian/rules @@ -20,12 +20,6 @@ CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - config.status: configure dh_testdir ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \