diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-24 16:49:11 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-24 16:49:11 +0200 |
commit | 4d7d4a2add6706a7a8efce625ac8d40f48962567 (patch) | |
tree | fa9667d6094be1fda35aed61df0731155a1d14a4 /main/dahdi-linux-grsec | |
parent | 0e428b697f67d9ad917a48b9a48811c1b9ddd381 (diff) | |
download | aports-4d7d4a2add6706a7a8efce625ac8d40f48962567.tar.bz2 aports-4d7d4a2add6706a7a8efce625ac8d40f48962567.tar.xz |
main/dahdi-linux-grsec: fix -fno-pie
Diffstat (limited to 'main/dahdi-linux-grsec')
-rw-r--r-- | main/dahdi-linux-grsec/APKBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD index 6fec187634..c3d7c439d5 100644 --- a/main/dahdi-linux-grsec/APKBUILD +++ b/main/dahdi-linux-grsec/APKBUILD @@ -61,15 +61,14 @@ prepare() { build() { cd "$srcdir/$_realname-$_dahdiver" - make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ - KCFLAGS="-fno-pie" \ + make CC="${CC:-gcc} -fno-pie" \ + KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ || 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 |