summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-29 19:30:10 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitcaa7908087ccca898c87c48381401f43a2136e6a (patch)
treeb4fdf5cc3a9e86954de31e67556c83b71a744c86 /libraries
parentd7f68cc6ea4b343da65ed5a2155dfb750772ed23 (diff)
downloadslackbuilds-caa7908087ccca898c87c48381401f43a2136e6a.tar.gz
libraries/libolecf: Force std=gnu89 in CFLAGS/CXXFLAGS.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libolecf/libolecf.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libolecf/libolecf.SlackBuild b/libraries/libolecf/libolecf.SlackBuild
index 66955c88ea..026b6c47a0 100644
--- a/libraries/libolecf/libolecf.SlackBuild
+++ b/libraries/libolecf/libolecf.SlackBuild
@@ -72,8 +72,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} \