summaryrefslogtreecommitdiff
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
commit742b498710643bc1b0c6f8ff29181d2ebd4d3dc3 (patch)
treea8de2d047430d5e62aeb8e09c04a7a5da25d261d
parent3f954f4e0beaf6526c1e28c430cd645e5c113764 (diff)
downloadslackbuilds-742b498710643bc1b0c6f8ff29181d2ebd4d3dc3.tar.gz
libraries/libregf: 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/libregf/libregf.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libregf/libregf.SlackBuild b/libraries/libregf/libregf.SlackBuild
index b8d64e72b2..81b1d134c9 100644
--- a/libraries/libregf/libregf.SlackBuild
+++ b/libraries/libregf/libregf.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} \