diff options
author | Steve Langasek <vorlon@debian.org> | 2009-09-03 01:28:37 -0700 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2019-01-08 21:26:00 -0800 |
commit | c57ea6514fa7783330b4dc11ed51ac1665fe98f1 (patch) | |
tree | 33b834cf30db03a899fdceb7d81d48762978a624 /debian/rules | |
parent | d343f5da3ba5b134eb0c269919ee700afca4a8e8 (diff) |
Explicitly add -O0 to CFLAGS when noopt is set.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 2 insertions, 0 deletions
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) |