Package: guile-2.0
Version: 2.0.11+1
Severity: wishlist
Tags: patch

Thanks for maintaining guile 2.0 in debian.
Here is a patch to add the noopt build option to the rules file.


--- debian/rules.orig
+++ debian/rules
@@ -62,7 +62,7 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-deb_cflags := -O2 -g \
+deb_cflags := -g \
   -DPACKAGE_PACKAGER='\"Debian\"' \
   
-DPACKAGE_PACKAGER_VERSION='\"$(upstream_ver)-deb+$(deb_src_src_rev)-$(deb_src_rev)\"'
 \
   -DPACKAGE_PACKAGER_BUG_REPORTS='\"http://www.debian.org/Bugs/Reporting\";'
@@ -70,6 +70,9 @@
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -g
 endif
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O2
+endif
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        INSTALL_PROGRAM += -s
 endif


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to