From 25ccacc72f00d786c2c2fc70057b2a5029230c92 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 18 Nov 2015 14:47:38 +0000 Subject: academic/EMBASSY: Fix build with gcc5. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- academic/EMBASSY/EMBASSY.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'academic/EMBASSY') diff --git a/academic/EMBASSY/EMBASSY.SlackBuild b/academic/EMBASSY/EMBASSY.SlackBuild index a5fd088e4d10..67e2ea847113 100644 --- a/academic/EMBASSY/EMBASSY.SlackBuild +++ b/academic/EMBASSY/EMBASSY.SlackBuild @@ -367,8 +367,9 @@ make install DESTDIR=$PKG # Build VIENNA cd $TMP/$PRGNAM-$VERSION/$VIENNA -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# -std=gnu89 fixes build with gcc-5.2 (inline functions HairpinE and LoopEnergy) +CFLAGS="$SLKCFLAGS -std=gnu89" \ +CXXFLAGS="$SLKCFLAGS -std=gnu89" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ -- cgit v1.2.3