aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl-grsec
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-24 17:05:00 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-24 17:05:00 +0200
commit04f721ad640fac2f7c30335e8a5d65324b888c6c (patch)
tree0d3b58ef29ca08efe25eb87c76cfc4da195bbaf9 /main/spl-grsec
parent9d7af400d01907a75ce2d9d67c925b7487586caa (diff)
downloadaports-04f721ad640fac2f7c30335e8a5d65324b888c6c.tar.bz2
aports-04f721ad640fac2f7c30335e8a5d65324b888c6c.tar.xz
main/spl-grsec: fix -fno-pie
Diffstat (limited to 'main/spl-grsec')
-rw-r--r--main/spl-grsec/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/spl-grsec/APKBUILD b/main/spl-grsec/APKBUILD
index 42526d103a..bd99eddc72 100644
--- a/main/spl-grsec/APKBUILD
+++ b/main/spl-grsec/APKBUILD
@@ -44,7 +44,7 @@ prepare() {
build() {
cd "$builddir"
- KCFLAGS="-fno-pie" \
+ CC="${CC:-gcc} -fno-pie" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -53,12 +53,12 @@ build() {
--with-config=kernel \
--with-linux=/usr/src/linux-headers-${_abi_release} \
|| return 1
- make KCFLAGS="-fno-pie" || return 1
+ make CC="${CC:-gcc} -fno-pie" || return 1
}
package() {
cd "$builddir"
- make KCFLAGS="-fno-pie" DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install || return 1
}
dev() {