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

Caleb Maclennan alerque at gemini.archlinux.org
Thu Dec 30 07:45:45 UTC 2021


    Date: Thursday, December 30, 2021 @ 07:45:44
  Author: alerque
Revision: 1088090

upgpkg: lua-bit32 5.3.5.1_0.10-2; Pass LDFLAGS to achieve FULL RELRO

Modified:
  lua-bit32/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 07:41:18 UTC (rev 1088089)
+++ PKGBUILD	2021-12-30 07:45:44 UTC (rev 1088090)
@@ -7,7 +7,7 @@
 _compatrel=0.10
 pkgver=5.3.5.1_$_compatrel
 _rockrel=1
-pkgrel=1
+pkgrel=2
 pkgdesc='Lua 5.2 bit manipulation library'
 arch=(x86_64)
 url='https://github.com/keplerproject/lua-compat-5.3'
@@ -33,6 +33,7 @@
 	cd "$_archive"
 	depends=("${pkgname%-*}")
 	luarocks --lua-version=$1 --tree="$pkgdir/usr/" \
+		LIBFLAG="$LDFLAGS -shared" \
 		make --deps-mode=none --no-manifest "rockspecs/$_rockspec"
 	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }



More information about the arch-commits mailing list