diff options
-rw-r--r-- | main/zfs-vanilla/APKBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/main/zfs-vanilla/APKBUILD b/main/zfs-vanilla/APKBUILD index d01323aa88..9b7edaf977 100644 --- a/main/zfs-vanilla/APKBUILD +++ b/main/zfs-vanilla/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 } |