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>
This commit is contained in:
Matteo Bernardini 2021-05-12 08:22:11 +02:00 committed by Willy Sudiarto Raharjo
parent 406ebcfe2e
commit 4a8b668c49
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 1 deletions

View File

@ -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 \