summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-07 22:37:15 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit1b44b838f623b9c848321bda83b526563b2a1aef (patch)
tree6c46f138757e5a8634754adef45020a44e97cf6b
parent32be7da4a514c35d956d93a3af85c110928c394d (diff)
downloadslackbuilds-1b44b838f623b9c848321bda83b526563b2a1aef.tar.gz
academic/grpn: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/grpn/grpn.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/academic/grpn/grpn.SlackBuild b/academic/grpn/grpn.SlackBuild
index 16d15aa970..43d21124e1 100644
--- a/academic/grpn/grpn.SlackBuild
+++ b/academic/grpn/grpn.SlackBuild
@@ -53,6 +53,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i -e "/^CFLAGS = /s/\$/ $SLKCFLAGS -fgnu89-inline/" Makefile
+
make
make install PREFIX=$PKG/usr