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

Caleb Maclennan alerque at gemini.archlinux.org
Thu Dec 30 08:00:19 UTC 2021


    Date: Thursday, December 30, 2021 @ 08:00:18
  Author: alerque
Revision: 1088098

upgpkg: lua-bit32 5.3.5.1_0.10-3; Pass build flags 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:58:33 UTC (rev 1088097)
+++ PKGBUILD	2021-12-30 08:00:18 UTC (rev 1088098)
@@ -7,7 +7,7 @@
 _compatrel=0.10
 pkgver=5.3.5.1_$_compatrel
 _rockrel=1
-pkgrel=2
+pkgrel=3
 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/" \
+		CFLAGS="$CPPFLAGS $CFLAGS -fPIC" \
 		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