summaryrefslogtreecommitdiff
path: root/misc/megatunix
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 17:43:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:38 +0700
commit8b511fe596f8c16db864d6602c638138bcd12db5 (patch)
treeb2c082f103ecb7db0aec83c897e1cc3d2c08c036 /misc/megatunix
parent4351c988bcf9a9fbd2842e19aeaac1c7747ea527 (diff)
downloadslackbuilds-8b511fe596f8c16db864d6602c638138bcd12db5.tar.gz
misc/megatunix: Fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/megatunix')
-rw-r--r--misc/megatunix/megatunix.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild
index a42d7383d4..bcd0110493 100644
--- a/misc/megatunix/megatunix.SlackBuild
+++ b/misc/megatunix/megatunix.SlackBuild
@@ -82,7 +82,7 @@ autoreconf -vif
# include glib.h instead of individual headers.
patch -p1 -i $CWD/glib-single-include.patch
-CC="gcc -fgnu89-inline" \
+CC="gcc -fgnu89-inline -w -Wl,--allow-multiple-definition" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \