[arch-commits] Commit in lua-system/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Dec 30 08:02:44 UTC 2021
Date: Thursday, December 30, 2021 @ 08:02:44
Author: alerque
Revision: 1088100
upgpkg: lua-system 0.2.1-7; Pass build flags to achieve FULL RELRO
Modified:
lua-system/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-30 08:00:58 UTC (rev 1088099)
+++ PKGBUILD 2021-12-30 08:02:44 UTC (rev 1088100)
@@ -5,7 +5,7 @@
pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
pkgver=0.2.1
_rockrel=0
-pkgrel=6
+pkgrel=7
pkgdesc='Platform independent system calls for Lua'
arch=(x86_64 i686)
url="https://github.com/o-lim/${pkgbase/-/}"
@@ -23,6 +23,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 "$_archive-$_rockrel.rockspec"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
More information about the arch-commits
mailing list