summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-29 19:17:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit95d938d75cdf9faf523d392ee6c50b14eadbcd59 (patch)
tree86bdbdd815d738273fd0f3b879a54afc6428ca34
parent69fade1bed4706887a2ff33e57b5117e59593062 (diff)
downloadslackbuilds-95d938d75cdf9faf523d392ee6c50b14eadbcd59.tar.gz
libraries/libqcow: 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/libqcow/libqcow.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libqcow/libqcow.SlackBuild b/libraries/libqcow/libqcow.SlackBuild
index c6ddc60a8f..43aabd80b8 100644
--- a/libraries/libqcow/libqcow.SlackBuild
+++ b/libraries/libqcow/libqcow.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} \