]> git.sven.stormbind.net Git - sven/mysqltcl.git/blobdiff - debian/rules
Optimisation round 2
[sven/mysqltcl.git] / debian / rules
index 906519a60eabb273a59d6e3582181368dc1c86d1..1249cfd0905425b8101c07a31d495ba525717127 100755 (executable)
@@ -23,9 +23,9 @@ CONFIGURE_OPTIONS += \
 
 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
 
-CFLAGS += -Wall -g
+CFLAGS = -Wall -g
 
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
         CFLAGS += -O0
 else
         CFLAGS += -O2