aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-05-12 08:22:11 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-17 08:49:46 +0700
commit4a8b668c49e2d4a6001a4ace300467f7e73a4a3c (patch)
tree122e4af78d2b203506969b631c59fdbc9eda089f
parent406ebcfe2e8d69948ab5697523fd2e78c226bcd5 (diff)
gis/viking: Fix for gcc >= 10.x.
Thanks to enine on LQ Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/viking/viking.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/gis/viking/viking.SlackBuild b/gis/viking/viking.SlackBuild
index 8ca0b8437e68..86a1e58f5db6 100644
--- a/gis/viking/viking.SlackBuild
+++ b/gis/viking/viking.SlackBuild
@@ -84,7 +84,7 @@ if [ ${GEOCACHES:-no} = "yes" ]; then
OPT_GEOCACHES="--enable-geocaches"
fi
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \