[arch-commits] Commit in dnsutils/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Fri Jul 8 20:48:37 UTC 2011


    Date: Friday, July 8, 2011 @ 16:48:37
  Author: bisson
Revision: 130911

remove unused bloat (hack from FS#25048 despite the reporter's attitude)

Modified:
  dnsutils/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++++
 1 file changed, 4 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-08 20:32:59 UTC (rev 130910)
+++ PKGBUILD	2011-07-08 20:48:37 UTC (rev 130911)
@@ -25,6 +25,10 @@
 build() {
 	cd "${srcdir}/bind-${_pkgver}"
 
+	# hack to remove unused bloat from the binaries
+	CFLAGS+=' -fdata-sections -ffunction-sections'
+	LDFLAGS+=' -Wl,--gc-sections'
+
 	patch -p1 -i ../tools-only.patch
 	export STD_CDEFINES='-DDIG_SIGCHASE'
 




More information about the arch-commits mailing list