aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-12-22 01:59:03 -0300
committerTBK <tbk@jjtc.eu>2020-12-22 14:58:23 +0000
commita03af6508be03c5fc8eb4df41a00bbc34ffcbdf2 (patch)
tree875d24d8b992717db53453d24595824d41422545
parent46df21240e124c7207735b2b72b12c9b0b04ae3a (diff)
downloadaports-a03af6508be03c5fc8eb4df41a00bbc34ffcbdf2.tar.gz
aports-a03af6508be03c5fc8eb4df41a00bbc34ffcbdf2.tar.bz2
aports-a03af6508be03c5fc8eb4df41a00bbc34ffcbdf2.tar.xz
community/aircrack-ng: fix build by disabling -fno-common
There is currently no upstream fix for this issue so disable -fno-common for now by passing -fcommon to the flags. /usr/lib/gcc/powerpc64le-alpine-linux-musl/10.2.1/../../../../powerpc64le-alpine-linux-musl/bin/ld: ./.libs/libradiotap.a(radiotap.o):(.bss+0x0): multiple definition of `__packed'; lib/osdep/.libs
-rw-r--r--community/aircrack-ng/APKBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/community/aircrack-ng/APKBUILD b/community/aircrack-ng/APKBUILD
index 273117c3823..d2a8c6d2464 100644
--- a/community/aircrack-ng/APKBUILD
+++ b/community/aircrack-ng/APKBUILD
@@ -25,6 +25,7 @@ prepare() {
build() {
cd "$builddir"
+ CFLAGS="$CFLAGS -fcommon"
./configure \
--build=$CBUILD \
--host=$CHOST \