summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-02 15:18:41 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit3f954f4e0beaf6526c1e28c430cd645e5c113764 (patch)
tree4276d8f83eed0b7481c99eaee4884ac0c4076e30
parentf8c699978fae801198d2c6a2f706e4f8d603abb8 (diff)
downloadslackbuilds-3f954f4e0beaf6526c1e28c430cd645e5c113764.tar.gz
libraries/librep: 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--libraries/librep/librep.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/librep/librep.SlackBuild b/libraries/librep/librep.SlackBuild
index 17fcc4b200..2f6eb5700a 100644
--- a/libraries/librep/librep.SlackBuild
+++ b/libraries/librep/librep.SlackBuild
@@ -70,8 +70,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} \