aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons-grsec/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xtables-addons-grsec/APKBUILD')
-rw-r--r--main/xtables-addons-grsec/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD
index 5ecd7a4544..d4ea035f67 100644
--- a/main/xtables-addons-grsec/APKBUILD
+++ b/main/xtables-addons-grsec/APKBUILD
@@ -41,8 +41,12 @@ prepare() {
build() {
cd "$srcdir/$_realname-$_realver"
- ./configure --prefix=/usr \
- --with-kbuild=/usr/src/linux-headers-${_abi_release}
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-kbuild=/usr/src/linux-headers-${_abi_release} \
+ || return 1
cd extensions
export GCC_SPECS=hardenednopie.specs