From 987f8f20b2fa101a99da3b3eefae49d4feca5ee2 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 10 Dec 2020 09:29:23 +0100 Subject: network/aircrack-ng: Pass -fcommon for gcc >= 10.x. Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini --- network/aircrack-ng/aircrack-ng.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network') diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild index 6ab6259982582..f5f2491ce21f2 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 \ -- cgit v1.2.3