From 1aff04a3fe072056fcd931631c97b839005394e8 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 5 Jan 2021 23:14:40 +0100 Subject: [PATCH] Don't update CFLAGS if DEB_BUILD_OPTIONS contains noopt. This has been deprecated. --- debian/rules | 6 ------ 1 file changed, 6 deletions(-) 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) \ -- 2.30.2