aboutsummaryrefslogtreecommitdiff
path: root/system/bcache-tools
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-08 22:44:10 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitc968bf123f82bcef51dd6dc6de6e9504e9b2429c (patch)
tree9d7d2fd97a98f9c01f2419cb0dcdccc4768e19b0 /system/bcache-tools
parent47fe715774a2a3ae7dc5af0ce24c3c898054fe5e (diff)
system/bcache-tools: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/bcache-tools')
-rw-r--r--system/bcache-tools/bcache-tools.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/bcache-tools/bcache-tools.SlackBuild b/system/bcache-tools/bcache-tools.SlackBuild
index 99b8de8959b9..1a90a1693291 100644
--- a/system/bcache-tools/bcache-tools.SlackBuild
+++ b/system/bcache-tools/bcache-tools.SlackBuild
@@ -76,7 +76,12 @@ find -L . \
# Build
cd $TMP/$PRGNAM-$VERSION
-CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
+
+CC="gcc -fgnu89-inline" \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make
+
mkdir -p $PKG/usr/sbin
mkdir -p $PKG/lib/udev
mkdir -p $PKG/lib/udev/rules.d