aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/xtables-addons-grsec/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD
index 3df7d853d..5b58850b3 100644
--- a/main/xtables-addons-grsec/APKBUILD
+++ b/main/xtables-addons-grsec/APKBUILD
@@ -5,7 +5,7 @@ _realname=xtables-addons
_name=$_realname-$_flavor
_kver=4.4.14
-_kpkgrel=0
+_kpkgrel=1
_realver=2.10
_mypkgrel=0
@@ -50,13 +50,12 @@ build() {
|| return 1
cd extensions
- export GCC_SPECS=hardenednopie.specs
- make CC="${CC:-gcc}" modules || return 1
+ make CC="${CC:-gcc}" KCFLAGS="-fno-pie" modules || return 1
}
package() {
cd "$_builddir/extensions"
- make DESTDIR="$pkgdir" modules_install
+ make KCFLAGS="-fno-pie" DESTDIR="$pkgdir" modules_install
}
md5sums="727bf0dd4a3d9c65724267bd0d5d80b0 xtables-addons-2.10.tar.xz"