aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-07-11 16:27:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-11 16:38:20 +0000
commit3618dbd9e085841b95f4557b6714e9986555ac38 (patch)
tree088324ce5d33b6fbb882d1fbf20dcaa62145b146 /testing
parent823bb4049babc532fcf899a11091a0dc5358284f (diff)
downloadaports-3618dbd9e085841b95f4557b6714e9986555ac38.tar.bz2
aports-3618dbd9e085841b95f4557b6714e9986555ac38.tar.xz
testing/flashcache-grsec: rebuild against kernel 4.4.14-r1
Diffstat (limited to 'testing')
-rw-r--r--testing/flashcache-grsec/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/flashcache-grsec/APKBUILD b/testing/flashcache-grsec/APKBUILD
index 255ad7d596..1c5206a336 100644
--- a/testing/flashcache-grsec/APKBUILD
+++ b/testing/flashcache-grsec/APKBUILD
@@ -51,8 +51,8 @@ prepare() {
build() {
cd "$srcdir/$_realname-$_realver"/src
- export GCC_SPECS=hardenednopie.specs
- make CC="${CC:-gcc}" KERNEL_SOURCE_VERSION=$_abi_release modules \
+ make CC="${CC:-gcc}" KCFLAGS="-fno-pie" \
+ KERNEL_SOURCE_VERSION=$_abi_release modules \
|| return 1
}
@@ -60,6 +60,7 @@ package() {
cd "$srcdir/$_realname-$_realver"/src
make DESTDIR="$pkgdir" CC="${CC:-gcc}" \
+ KCFLAGS="-fno-pie" \
KERNEL_SOURCE_VERSION=$_abi_release \
DEPMOD=: modules_install || return 1
}