X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=eefbb001cdadcc260870445867ba922fafd7196e;hb=2c5eccec873ddcf65c2c96b2b7d25507e23f4287;hp=92d16e66d56cfb5d019e4383044203abea092e4c;hpb=100d133f6b97b89b999179aaecfd91f4a08ee4f4;p=sven%2Ftclcurl.git diff --git a/debian/rules b/debian/rules index 92d16e6..eefbb00 100755 --- a/debian/rules +++ b/debian/rules @@ -23,12 +23,12 @@ CONFIGURE_OPTIONS += \ LDFLAGS += -Wl,-z,defs -Wl,--as-needed -CFLAGS += -Wall -g +CFLAGS = -Wall -g -ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O2 -else +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 +else + CFLAGS += -O2 endif