summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-06-01 10:25:20 +0200
committer Matteo Bernardini2019-12-07 19:17:44 +0100
commitb93d0a8c9fd0780fb04d405fd52196308f280e14 (patch)
tree29b57c94b8654245a006634f65d4fd65bd9efd02
parent4b7b01aae75cc2cc8db1eedc90b43f8400bef53e (diff)
downloadslackbuilds-facter.tar.gz
system/facter: Disable some warning-as-errors.facter
This makes gcc-7.x happy Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/facter/facter.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/facter/facter.SlackBuild b/system/facter/facter.SlackBuild
index 7788f94801..03f1919ac8 100644
--- a/system/facter/facter.SlackBuild
+++ b/system/facter/facter.SlackBuild
@@ -77,7 +77,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=misleading-indentation" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Release ..