summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-10 09:29:23 +0100
committer Matteo Bernardini2021-03-06 09:20:22 +0100
commitaa6165784abad8d1c1f8b62eb0bc882831d8c710 (patch)
treedb429b2dfd071b646ae717d1257f10778b94a696
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-aircrack-ng.tar.gz
network/aircrack-ng: Pass -fcommon for gcc >= 10.x.aircrack-ng
Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/aircrack-ng/aircrack-ng.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild
index 6ab6259982..f5f2491ce2 100644
--- a/network/aircrack-ng/aircrack-ng.SlackBuild
+++ b/network/aircrack-ng/aircrack-ng.SlackBuild
@@ -79,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
--prefix=/usr \