aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-19 21:15:55 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:13:27 +0700
commit95e7b2efb46939da5801d25f33e15fe53191effc (patch)
tree6e50eecede3b2e8a5ccbc9f67608531930a284d2 /gis
parentf35f54a437dd3232c923b155a7eae29a17063b6f (diff)
gis/tangogps: Fix build on 15.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/tangogps/tangogps.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/gis/tangogps/tangogps.SlackBuild b/gis/tangogps/tangogps.SlackBuild
index b9672e1fab5b8..c63df60df3310 100644
--- a/gis/tangogps/tangogps.SlackBuild
+++ b/gis/tangogps/tangogps.SlackBuild
@@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tangogps
VERSION=${VERSION:-0.99.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,7 @@ sed -i "s|^#include\ <glib/.*||" src/map_management.c
sed -i "s|^#include\ <curl/types\.h>||" \
src/tile_management.c src/util.h src/friends.c
-LDFLAGS="-lm" \
+LDFLAGS="-Wl,--allow-multiple-definition,-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \