diff options
-rw-r--r-- | main/spl-grsec/APKBUILD | 6 |
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() { |