summaryrefslogtreecommitdiffstats
path: root/main/iptables/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iptables/APKBUILD')
-rw-r--r--main/iptables/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 02916d3c6..600f6cade 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -24,19 +24,22 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \
+ sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \
extensions/libxt_pkttype.c || return 1
}
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--sbindir=/sbin \
--without-kernel \
- --enable-devel \
+ --enable-devel \
--enable-libipq \
- --enable-shared \
+ --enable-shared \
|| return 1
# do not use rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool