summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-rw-r--r--academic/EMBASSY/EMBASSY.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/academic/EMBASSY/EMBASSY.SlackBuild b/academic/EMBASSY/EMBASSY.SlackBuild
index a5fd088e4d..67e2ea8471 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} \