aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-19 23:05:27 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitf72377834b893a883fab5af35f66011fccc8cfda (patch)
treeea5681864bf475e4a0e3d8bd6fb387ecd08ef619
parentce056c6ef17a838b9b21b989c17173800685f62b (diff)
academic/genius: Force std=gnu89 in CFLAGS/CXXFLAGS.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/genius/genius.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild
index d87e41889395..64e755559aad 100644
--- a/academic/genius/genius.SlackBuild
+++ b/academic/genius/genius.SlackBuild
@@ -75,8 +75,8 @@ 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" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \