aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-07-11 14:52:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-11 16:38:20 +0000
commitd92af649bcb216000d8af4fcdcafdd03f140214d (patch)
tree19203a0c12edc4ebe405a1c2c49d9cbf05e1a8d0 /main
parent6e6af63c413376dfaaa135b5366f7313a7c696d0 (diff)
downloadaports-d92af649bcb216000d8af4fcdcafdd03f140214d.tar.bz2
aports-d92af649bcb216000d8af4fcdcafdd03f140214d.tar.xz
main/spl-grsec: rebuild against kernel 4.4.14-r1
Diffstat (limited to 'main')
-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() {