[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.11.0-1-26-g3d9a28d

Stephane Glondu steph at glondu.net
Tue Feb 17 14:27:51 UTC 2009


The following commit has been merged in the master branch:
commit ea53bbc537aca6d1c5d24765a09aafda7deb5b10
Author: Stephane Glondu <steph at glondu.net>
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



More information about the Pkg-ocaml-maint-commits mailing list