From c968bf123f82bcef51dd6dc6de6e9504e9b2429c Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 8 Dec 2015 22:44:10 +0000 Subject: system/bcache-tools: Fixed build with gcc-5.2.0. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- system/bcache-tools/bcache-tools.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/system/bcache-tools/bcache-tools.SlackBuild b/system/bcache-tools/bcache-tools.SlackBuild index 99b8de8959b9b..1a90a1693291c 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 -- cgit v1.2.3