From 011cbc909a1d7b0e92188ae97ad21cc5935aa3d1 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 29 Nov 2015 19:17:47 +0000 Subject: libraries/libsmdev: Force std=gnu89 in CFLAGS/CXXFLAGS. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- libraries/libsmdev/libsmdev.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/libsmdev') diff --git a/libraries/libsmdev/libsmdev.SlackBuild b/libraries/libsmdev/libsmdev.SlackBuild index c70073df0b8f..0bf89800f6a7 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} \ -- cgit v1.2.3