From 17371514d32d1928b8e5f1b5899df486df7f60e5 Mon Sep 17 00:00:00 2001
From: David Spencer <baildon.research@googlemail.com>
Date: Sun, 29 Nov 2015 19:30:08 +0000
Subject: libraries/libevt: Force std=gnu89 in CFLAGS/CXXFLAGS.

Signed-off-by: David Spencer <baildon.research@googlemail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
---
 libraries/libevt/libevt.SlackBuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'libraries')

diff --git a/libraries/libevt/libevt.SlackBuild b/libraries/libevt/libevt.SlackBuild
index 09595532c0325..eba6cb71a2c7a 100644
--- a/libraries/libevt/libevt.SlackBuild
+++ b/libraries/libevt/libevt.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