From: Sven Hoexter Date: Tue, 25 Dec 2007 21:52:48 +0000 (+0000) Subject: Optimisation round 2 X-Git-Tag: debian/3.04-2~4 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=c905719ab07d4a621fd5e41da1a33fa28b144a56;p=sven%2Fmysqltcl.git Optimisation round 2 --- diff --git a/debian/rules b/debian/rules index 906519a..1249cfd 100755 --- a/debian/rules +++ b/debian/rules @@ -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