aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-24 16:49:11 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-24 16:49:11 +0200
commit4d7d4a2add6706a7a8efce625ac8d40f48962567 (patch)
treefa9667d6094be1fda35aed61df0731155a1d14a4 /main/dahdi-linux-grsec
parent0e428b697f67d9ad917a48b9a48811c1b9ddd381 (diff)
downloadaports-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/APKBUILD5
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