The following commit has been merged in the master branch:
commit ea53bbc537aca6d1c5d24765a09aafda7deb5b10
Author: Stephane Glondu <[email protected]>
Date:   Tue Feb 17 13:48:07 2009 +0100

    Remove handling of CFLAGS done in dpkg-buildpackage

diff --git a/debian/rules b/debian/rules
index f3f47ce..904bbd7 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) \

-- 
OCaml packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to