aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl-grsec/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/spl-grsec/APKBUILD')
-rw-r--r--main/spl-grsec/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/spl-grsec/APKBUILD b/main/spl-grsec/APKBUILD
index e4326b8a2d..0d4c9832ef 100644
--- a/main/spl-grsec/APKBUILD
+++ b/main/spl-grsec/APKBUILD
@@ -6,7 +6,7 @@ _name=$_realname-$_flavor
_kpkg=linux-$_flavor
_kver=4.4.14
-_kpkgrel=0
+_kpkgrel=1
_realver=0.6.5.7
_mypkgrel=0
@@ -44,6 +44,7 @@ prepare() {
build() {
cd "$builddir"
+ KCFLAGS="-fno-pie" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -52,12 +53,12 @@ build() {
--with-config=kernel \
--with-linux=/usr/src/linux-headers-${_abi_release} \
|| return 1
- make || return 1
+ make KCFLAGS="-fno-pie" || return 1
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make KCFLAGS="-fno-pie" DESTDIR="$pkgdir" install || return 1
}
dev() {