[SCM] mixxx/master: Build with --as-needed
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Tue Jan 26 00:10:09 UTC 2016
The following commit has been merged in the master branch:
commit a2a43c56f417136c7e09bcf12b19233d3c4c9bb0
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Mon Jan 25 23:57:10 2016 +0100
Build with --as-needed
diff --git a/debian/rules b/debian/rules
index c54ebdb..995d7f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
# the missing (hardening) flags.
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
export DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
--
mixxx packaging
More information about the pkg-multimedia-commits
mailing list