diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-05-12 08:22:11 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-17 08:49:46 +0700 |
commit | 4a8b668c49e2d4a6001a4ace300467f7e73a4a3c (patch) | |
tree | 122e4af78d2b203506969b631c59fdbc9eda089f | |
parent | 406ebcfe2e8d69948ab5697523fd2e78c226bcd5 (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.SlackBuild | 2 |
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 \ |