X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=733c00840cb946829fc5686732b5540cff513969;hb=e0526816fa95528fbc8b212c311bb2cc268d42b7;hp=92d16e66d56cfb5d019e4383044203abea092e4c;hpb=100d133f6b97b89b999179aaecfd91f4a08ee4f4;p=sven%2Ftclcurl.git diff --git a/debian/rules b/debian/rules index 92d16e6..733c008 100755 --- a/debian/rules +++ b/debian/rules @@ -19,16 +19,18 @@ CONFIGURE_OPTIONS += \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-threads \ + --with-tcl=/usr/lib \ + --with-tclinclude=/usr/include/tcl \ 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