aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/zfs-grsec/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/main/zfs-grsec/APKBUILD b/main/zfs-grsec/APKBUILD
index c9e690bb1d..c128d4466a 100644
--- a/main/zfs-grsec/APKBUILD
+++ b/main/zfs-grsec/APKBUILD
@@ -7,7 +7,7 @@ _name=$_realname-$_flavor
_kpkg=linux-$_flavor
_kver=4.4.34
-_kpkgrel=2
+_kpkgrel=3
_realver=0.6.5.8
_mypkgrel=0
@@ -59,8 +59,7 @@ prepare() {
build() {
cd "$builddir"
export LIBS="$LIBS -lintl"
- KCFLAGS="-fno-pie" \
- EXTRA_KCFLAGS="-fno-pie -Wno-error=unused-but-set-variable" \
+ EXTRA_KCFLAGS="-Wno-error=unused-but-set-variable" \
./configure --prefix=/usr \
--with-tirpc \
--sysconfdir=/etc \
@@ -71,14 +70,12 @@ build() {
--with-linux=/usr/src/linux-headers-${_abi_release} \
--with-spl=/usr/src/spl-${_realver} \
|| return 1
- make KCFLAGS="-fno-pie" \
- EXTRA_KCFLAGS="-fno-pie" \
- || return 1
+ make || return 1
}
package() {
cd "$builddir"
- make KCFLAGS="-fno-pie" DESTDIR="$pkgdir" \
+ make DESTDIR="$pkgdir" \
install || return 1
}