aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-07-11 12:15:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-11 16:38:20 +0000
commite0d4976bf6a2d75a5910d43471ecccd77fcae06e (patch)
tree0662a3957de03f1cdb057346bd97fc703078f718
parent36749a96b66db721ba430ea2d960a1874650729d (diff)
downloadaports-e0d4976bf6a2d75a5910d43471ecccd77fcae06e.tar.bz2
aports-e0d4976bf6a2d75a5910d43471ecccd77fcae06e.tar.xz
main/dahdi-linux-grsec: rebuild against kernel 4.4.14-r1
-rw-r--r--main/dahdi-linux-grsec/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD
index ca1270dce5..b0943edfd4 100644
--- a/main/dahdi-linux-grsec/APKBUILD
+++ b/main/dahdi-linux-grsec/APKBUILD
@@ -4,7 +4,7 @@
_flavor=grsec
_kpkg=linux-$_flavor
_kver=4.4.14
-_kpkgrel=0
+_kpkgrel=1
_mypkgrel=0
# verify the kernel version before entering chroot
@@ -61,14 +61,15 @@ prepare() {
build() {
cd "$srcdir/$_realname-$_dahdiver"
- export GCC_SPECS=hardenednopie.specs
make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
+ KCFLAGS="-fno-pie" \
|| return 1
}
package() {
cd "$srcdir/$_realname-$_dahdiver"
make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
+ KCFLAGS="-fno-pie" \
DESTDIR="$pkgdir" install-modules || return 1
rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \
"$pkgdir"/usr/include