From c57ea6514fa7783330b4dc11ed51ac1665fe98f1 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 3 Sep 2009 01:28:37 -0700 Subject: Explicitly add -O0 to CFLAGS when noopt is set. --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 9999af1b..c115d852 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ CFLAGS := -g ifeq (,$(findstring noopt, ${DEB_BUILD_OPTIONS})) CFLAGS += -O2 +else +CFLAGS += -O0 endif DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -- cgit v1.2.3