summaryrefslogtreecommitdiff
path: root/development/opencvs
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-26 20:07:04 +0100
committerRobby Workman <rworkman@slackbuilds.org>2022-02-26 17:35:12 -0600
commitbadbbbc7f3ef76ce9678f85a2c858108e4af470d (patch)
treec03fac4c9f3a46a64557c563913c13b1cc4041dd /development/opencvs
parent9a31320b2fe86911b5ba8ee5d441aa5eb7f7d93c (diff)
downloadslackbuilds-badbbbc7f3ef76ce9678f85a2c858108e4af470d.tar.gz
development/opencvs: Fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/opencvs')
-rw-r--r--development/opencvs/opencvs.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/opencvs/opencvs.SlackBuild b/development/opencvs/opencvs.SlackBuild
index b3d7e425d7..9eda4d624f 100644
--- a/development/opencvs/opencvs.SlackBuild
+++ b/development/opencvs/opencvs.SlackBuild
@@ -86,7 +86,7 @@ find -L . \
sed -i -e 's/for v in 11 10 9 8 7 6 5/for v in 14 13 12 11 10 15 16/' bootstrap
./bootstrap
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \