[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-0.99.19, updated. 1%3A0.99.18+dfsg.1-10-178-gbb38541
Jörg Sommer
joerg at alea.gnuu.de
Mon May 19 16:07:02 UTC 2008
The following commit has been merged in the jo-0.99.19 branch:
commit 25ec339482e75a4e3c00dca7e195660ef865974f
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date: Sun May 18 00:21:11 2008 +0200
Export CFLAGS instead of passing them as option to configure
The new dpkg-buildpackage version 1.14.18 exports much more *FLAGS
variables in the environment. It might be confusing when configure picks
some variables from the environment while others are passed as options.
So, make it consistent and export our changes to the CFLAGS and remove
the option from configure.
diff --git a/debian/rules b/debian/rules
index f222c3a..8d7fdf8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,9 @@
# These additional compiler flags should bring up warnings about common
# sources of errors.
-CFLAGS += -g -Wall -Wformat=2 -Wunused -Wundef -Wextra -Wswitch-enum -Wshadow \
+export CFLAGS += -g -Wall -Wformat=2 -Wunused -Wundef -Wextra -Wswitch-enum \
-Wpointer-arith -Wnested-externs -Wbad-function-cast -Wcast-qual \
- -Wcast-align
+ -Wcast-align -Wshadow
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@ -30,8 +30,8 @@ clean: unpatch
config.status: patch-stamp
dh_testdir
- ./configure "CFLAGS=$(CFLAGS)" --prefix=/usr/share --exec-prefix=/usr \
- --with-x || { rc=$$?; cat config.log; exit $$rc; }
+ ./configure --prefix=/usr/share --exec-prefix=/usr --with-x || \
+ { rc=$$?; cat config.log; exit $$rc; }
build: build-stamp
build-stamp: config.status
--
Debian packaging of JED
More information about the Pkg-jed-commit
mailing list