[systemd-commits] autogen.sh configure.ac

Lennart Poettering lennart at kemper.freedesktop.org
Thu Feb 20 18:16:27 PST 2014


 autogen.sh   |    2 +-
 configure.ac |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit fdc8509fb61965698b7a54e3d0ac094650f21cad
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Feb 21 03:13:57 2014 +0100

    build-sys: don't use -Wcast-align anymore
    
    We do a lot of these casts, and they are all OK, so let's get rid of the
    warning, to make things quieter.
    
    http://lists.freedesktop.org/archives/systemd-devel/2014-February/017174.html

diff --git a/autogen.sh b/autogen.sh
index bd74be3..20f013a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -63,7 +63,7 @@ elif [ "x$1" = "xa" ]; then
         ./configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' --enable-compat-libs --enable-kdbus $args
         make clean
 elif [ "x$1" = "xl" ]; then
-        ./configure CC=clang CFLAGS='-g -O0 -ftrapv -Wno-cast-align -Wno-gnu' --enable-compat-libs --enable-kdbus $args
+        ./configure CC=clang CFLAGS='-g -O0 -ftrapv -Wno-gnu' --enable-compat-libs --enable-kdbus $args
         make clean
 elif [ "x$1" = "xs" ]; then
         scan-build ./configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs --enable-kdbus $args
diff --git a/configure.ac b/configure.ac
index 18df6d8..c03a0e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,7 +137,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
         -Wmissing-noreturn \
         -Wshadow \
         -Wendif-labels \
-        -Wcast-align \
         -Wstrict-aliasing=2 \
         -Wwrite-strings \
         -Wno-long-long \



More information about the systemd-commits mailing list