summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Buch <boogiewasthere@gmail.com>2014-04-01 15:00:31 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-01 20:57:14 +0200
commit0ef298ab47439ee221c011eb602dc1607ddd11e9 (patch)
tree199340dc1ba9b7271380a08e67bed116fc0edc80
parent66a67effcc5beaf8a61e1c1147c3114b02a96439 (diff)
build-sys: workaround scan-build bug to fix ./autogen.sh s
It seems to be a clang-analyzer problem since it don't behave like clang-compiler regarding -std={c99,gnu99}
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 9b4781c72f..449a2e6d56 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -72,7 +72,7 @@ elif [ "x$1" = "xl" ]; then
$topdir/configure CC=clang CFLAGS='-g -O0 -ftrapv -Wno-gnu' --enable-compat-libs --enable-kdbus $args
make clean
elif [ "x$1" = "xs" ]; then
- scan-build $topdir/configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs --enable-kdbus $args
+ scan-build $topdir/configure CFLAGS='-std=gnu99 -g -O0 -ftrapv' --enable-compat-libs --enable-kdbus $args
scan-build make
else
echo