aboutsummaryrefslogtreecommitdiff
path: root/academic/arka/arka.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-11-18 20:44:10 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitfc050f8db59ed25c184581f57ad4c640d8e56a8e (patch)
tree71d71b328a094bc196c180eb97139d908ef639cf /academic/arka/arka.SlackBuild
parent27a8de224cb1655929e432a481ce87b1c51adc5d (diff)
academic/arka: Fix building with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/arka/arka.SlackBuild')
-rw-r--r--academic/arka/arka.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/academic/arka/arka.SlackBuild b/academic/arka/arka.SlackBuild
index 9143a4417350b..bb68495fa04a5 100644
--- a/academic/arka/arka.SlackBuild
+++ b/academic/arka/arka.SlackBuild
@@ -66,8 +66,9 @@ sed "s:/usr/X11R6/include/X11/pixmaps:/usr/share/pixmaps:" -i Makefile
# Use our CFLAGS
sed -i "/^CFLAGS/s/=/+=/" src/Makefile
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+# Fix for gcc-5.2.0 linker errors: add -fgnu89-inline
+CFLAGS="$SLKCFLAGS -fgnu89-inline" \
+CXXFLAGS="$SLKCFLAGS -fgnu89-inline" \
make
# The Makefile does not support "make DESTDIR install". So...