accessibility/jpilot: Fix build with newer gcc.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-08 20:51:35 +13:00 committed by Willy Sudiarto Raharjo
parent f11f9811af
commit 21eb1e0feb
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jpilot
VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -81,7 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS -std=gnu89" \
CFLAGS="$SLKCFLAGS -std=gnu89 -fcommon" \
CXXFLAGS="$SLKCFLAGS -std=gnu89" \
./configure \
--prefix=/usr \