[Pkg-jed-commit] r386 - jed/trunk/debian
Jörg Sommer
jo-guest at costa.debian.org
Wed Aug 16 18:22:31 UTC 2006
Author: jo-guest
Date: 2006-08-16 18:22:30 +0000 (Wed, 16 Aug 2006)
New Revision: 386
Modified:
jed/trunk/debian/rules
Log:
* debian/rules
+ There's no flag ?\226?\128?\152debug?\226?\128?\153 defined for DEB_BUILD_OPTIONS. Instead there's a
flag ?\226?\128?\152nostrip?\226?\128?\153, which is already resprected by dh_strip.
+ Policy suggests to always compile with debugging symbols and strip them
away, later. Switched to this behaviour.
Modified: jed/trunk/debian/rules
===================================================================
--- jed/trunk/debian/rules 2006-08-16 10:07:42 UTC (rev 385)
+++ jed/trunk/debian/rules 2006-08-16 18:22:30 UTC (rev 386)
@@ -4,11 +4,8 @@
# These additional compiler flags should bring up warnings about common
# sources of errors.
-CFLAGS += -Wall -Wformat=2 -Wunused -Wundef -Wextra
+CFLAGS += -Wall -Wformat=2 -Wunused -Wundef -Wextra -g
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -g
-endif
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
@@ -145,9 +142,7 @@
#
dh_installmenu -a
dh_fixperms -a
-ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
dh_strip -a
-endif
dh_compress -a
dh_installdeb -a
dh_shlibdeps -a
More information about the Pkg-jed-commit
mailing list