From 8b511fe596f8c16db864d6602c638138bcd12db5 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 3 Feb 2022 17:43:12 +0100 Subject: misc/megatunix: Fix for gcc >= 10.x. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- misc/megatunix/megatunix.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/megatunix') 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 \ -- cgit v1.2.3