Correct optimization/noopt check
authorSven Hoexter <sven@timegate.de>
Tue, 25 Dec 2007 20:56:44 +0000 (20:56 +0000)
committerSven Hoexter <sven@timegate.de>
Tue, 25 Dec 2007 20:56:44 +0000 (20:56 +0000)
debian/rules

index cdacbbe2011f0753cd6bee9bf773a8c540ccf0aa..906519a60eabb273a59d6e3582181368dc1c86d1 100755 (executable)
@@ -26,9 +26,9 @@ LDFLAGS += -Wl,-z,defs -Wl,--as-needed
 CFLAGS += -Wall -g
 
 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O2
-else
         CFLAGS += -O0
+else
+        CFLAGS += -O2
 endif