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

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


    Date: Thursday, December 30, 2021 @ 07:57:55
  Author: alerque
Revision: 1088096

upgpkg: lua-linenoise 0.9-7; Pass build flags to achieve FULL RELRO

Modified:
  lua-linenoise/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 07:56:43 UTC (rev 1088095)
+++ PKGBUILD	2021-12-30 07:57:55 UTC (rev 1088096)
@@ -5,7 +5,7 @@
 _rockname=${pkgbase#lua-}
 pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
 pkgver=0.9
-pkgrel=6
+pkgrel=7
 _rockrel=1
 pkgdesc='A binding for the linenoise command line library'
 arch=(x86_64)
@@ -24,6 +24,8 @@
 	cd "$_archive"
 	depends=("${pkgname%-*}")
 	luarocks --lua-version="$1" --tree="$pkgdir/usr/" \
+		CFLAGS="$CPPFLAGS $CFLAGS -fPIC" \
+		LIBFLAG="$LDFLAGS -shared" \
 		make --deps-mode=none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
 	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
 }



More information about the arch-commits mailing list