[systemd-commits] autogen.sh

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Tue Apr 1 11:57:45 PDT 2014


 autogen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ef298ab47439ee221c011eb602dc1607ddd11e9
Author: Daniel Buch <boogiewasthere at gmail.com>
Date:   Tue Apr 1 15:00:31 2014 +0200

    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}

diff --git a/autogen.sh b/autogen.sh
index 9b4781c..449a2e6 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



More information about the systemd-commits mailing list