development/opencvs: Fix for gcc >= 10.x.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-26 20:07:04 +01:00 committed by Robby Workman
parent 9a31320b2f
commit badbbbc7f3

View file

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