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

Brett Cornwall ainola at archlinux.org
Mon Jan 7 01:05:19 UTC 2019


    Date: Monday, January 7, 2019 @ 01:05:18
  Author: ainola
Revision: 420820

scdoc: Add note about why LDFLAGS is overwritten.

Modified:
  scdoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-07 01:05:10 UTC (rev 420819)
+++ PKGBUILD	2019-01-07 01:05:18 UTC (rev 420820)
@@ -13,6 +13,10 @@
 
 build() {
     cd "$pkgname-$pkgver"
+    # Upstream purposefully does not honor the user's LDFLAGS in order to keep
+    # scdoc static. As we gain no benefit to statically linking and, in fact,
+    # lose standard Arch practices (such as RELRO and PIE), we must override
+    # LDFLAGS
     make PREFIX=/usr LDFLAGS="$LDFLAGS"
 }
 



More information about the arch-commits mailing list