aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-10 09:29:23 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:07:45 -0500
commit987f8f20b2fa101a99da3b3eefae49d4feca5ee2 (patch)
treea9d55da9f64e9a7f31cdda04d73245f393c1678e
parentdaf94139713551c05064949e8d313332fcdeb570 (diff)
network/aircrack-ng: Pass -fcommon for gcc >= 10.x.
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 6ab625998258..f5f2491ce21f 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 \