summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-29 20:53:07 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit3d9b1fe08e8952886d2c18705ce6c587f921fa17 (patch)
treea54d1896e6b914063e66f275d36d37a62834e539
parent95d938d75cdf9faf523d392ee6c50b14eadbcd59 (diff)
downloadslackbuilds-3d9b1fe08e8952886d2c18705ce6c587f921fa17.tar.gz
libraries/libpff: 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/libpff/libpff.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libpff/libpff.SlackBuild b/libraries/libpff/libpff.SlackBuild
index 4b2952afd2..c4cf1e06eb 100644
--- a/libraries/libpff/libpff.SlackBuild
+++ b/libraries/libpff/libpff.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} \