aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-08 20:51:35 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:35:57 +0700
commit21eb1e0feba35f8d0fff673182326d89a087202e (patch)
treedda2ff555c0d93b3f1c046e7ad43234180fdc83c
parentf11f9811afaad163f86d182cf56d170bd7041b97 (diff)
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>
-rw-r--r--accessibility/jpilot/jpilot.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/jpilot/jpilot.SlackBuild b/accessibility/jpilot/jpilot.SlackBuild
index 4530f0d4e9747..6c9739149149e 100644
--- a/accessibility/jpilot/jpilot.SlackBuild
+++ b/accessibility/jpilot/jpilot.SlackBuild
@@ -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 \