summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2011-06-02 14:41:40 +0100
committerSimon McVittie <smcv@debian.org>2011-06-02 14:41:40 +0100
commita6ab1ecff7c8e7b247311574cc7540c9d17db76a (patch)
tree122c3792008270227f2c665efaa3332b7e0eea0f
parentde30f4e149ab79d5212876b248c5524f2e8f4fc1 (diff)
downloaddbus-a6ab1ecff7c8e7b247311574cc7540c9d17db76a.tar.gz
Disable -Wl,--gc-sections and related flags: the size decrease is negligible, and these options currently segfault ld on armel and mips* (Closes: #628834)
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules1
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 788028c5..a792d586 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ dbus (1.4.10-2) UNRELEASED; urgency=low
* Disable silent rules so we can have useful buildd logs
* Update Vcs-Git, Vcs-Browser to the form preferred by the Alioth admins
+ * Disable -Wl,--gc-sections and related flags: the size decrease is
+ negligible, and these options currently segfault ld on armel and mips*
+ (Closes: #628834)
-- Simon McVittie <smcv@debian.org> Wed, 01 Jun 2011 18:01:41 +0100
diff --git a/debian/rules b/debian/rules
index 11debbc3..8dc54f2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,7 @@ cflags += $(HARDENING_CFLAGS)
ldflags += $(HARDENING_LDFLAGS)
common_configure_flags := \
+ --disable-gc-sections \
--disable-silent-rules \
--disable-libaudit \
--libexecdir=\$${prefix}/lib/dbus-1.0 \