From: Stephane Glondu Date: Tue, 17 Feb 2009 12:48:07 +0000 (+0100) Subject: Remove handling of CFLAGS done in dpkg-buildpackage X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~444 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ea53bbc537aca6d1c5d24765a09aafda7deb5b10;p=ocaml.git Remove handling of CFLAGS done in dpkg-buildpackage --- diff --git a/debian/rules b/debian/rules index f3f47ce1..904bbd72 100755 --- a/debian/rules +++ b/debian/rules @@ -30,17 +30,6 @@ SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar.bz2 # This has to be exported to make some magic below work. export DH_OPTIONS -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - CONFIGURE_OPTS := \ --with-pthread -prefix /usr \ -libdir $(OCAML_STDLIB_DIR) \