summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-29 19:30:09 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitcee120c109309adbec9299e010566002e397a344 (patch)
tree956aa7af0d57d865d45b02d62fa612be164ef98b
parent6876365b05c21e64a6c4ca94694275835825dc8a (diff)
downloadslackbuilds-cee120c109309adbec9299e010566002e397a344.tar.gz
libraries/liblnk: 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/liblnk/liblnk.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/liblnk/liblnk.SlackBuild b/libraries/liblnk/liblnk.SlackBuild
index 7ce9965e35..158470d97c 100644
--- a/libraries/liblnk/liblnk.SlackBuild
+++ b/libraries/liblnk/liblnk.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} \