usr/bin/shellcheck: ELF file lacks FULL RELRO
I have a suggestion for this PKGBUILD. Running namcap on this package yields:
shellcheck W: ELF file ('usr/bin/shellcheck') lacks FULL RELRO, check LDFLAGS.
which could be fixed by adding:
diff --git a/PKGBUILD b/PKGBUILD
index 4fa1933..a501ac8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,6 +27,7 @@ build() {
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
--ghc-option='-pie'
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script