[SCM] Packaging for briquolo branch, master, updated. debian/0.5.7-1-6-g7a1eda5
Bradley Smith
brad at brad-smith.co.uk
Sat Jul 5 20:59:39 UTC 2008
The following commit has been merged in the master branch:
commit 7a1eda513363e0dc634e074d04ad99595274cfb4
Author: Bradley Smith <brad at brad-smith.co.uk>
Date: Sat Jul 5 21:22:24 2008 +0100
Add --as-needed flag.
Signed-off-by: Bradley Smith <brad at brad-smith.co.uk>
diff --git a/debian/changelog b/debian/changelog
index e0f2769..0bfa176 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ briquolo (0.5.7-2) unstable; urgency=low
* Update Vcs entries in debian/control.
* Update Standards-Version to 3.8.0.
- Support parallel=N in DEB_BUILD_OPTIONS.
+ * Add --as-needed flag to the build, to avoid unneeded linking.
-- Bradley Smith <brad at brad-smith.co.uk> Sat, 05 Jul 2008 21:12:31 +0100
diff --git a/debian/rules b/debian/rules
index 5afe6ec..8d00b08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
+LDFLAGS = -Wl,--as-needed
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@ -20,7 +21,7 @@ endif
config.status: $(QUILT_STAMPFN) configure
dh_testdir
- CFLAGS="$(CFLAGS)" ./configure \
+ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --datadir=\$${prefix}/share/games \
--bindir=\$${prefix}/games --mandir=\$${prefix}/share/man \
--
Packaging for briquolo
More information about the Pkg-games-commits
mailing list