summaryrefslogtreecommitdiff
path: root/libraries/libsmdev
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-29 19:17:47 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit011cbc909a1d7b0e92188ae97ad21cc5935aa3d1 (patch)
treecdbb89cb399a87cf1a2e3745e5a6f819ea5782dc /libraries/libsmdev
parent72ae201320159201bdca5f2588d77c035d6ca4b8 (diff)
downloadslackbuilds-011cbc909a1d7b0e92188ae97ad21cc5935aa3d1.tar.gz
libraries/libsmdev: 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/libsmdev')
-rw-r--r--libraries/libsmdev/libsmdev.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libsmdev/libsmdev.SlackBuild b/libraries/libsmdev/libsmdev.SlackBuild
index c70073df0b..0bf89800f6 100644
--- a/libraries/libsmdev/libsmdev.SlackBuild
+++ b/libraries/libsmdev/libsmdev.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} \