build: Drop -Werror for cast-align warnings

It seems we really suck at that, or clang is really strict.

https://bugzilla.gnome.org/show_bug.cgi?id=750725
This commit is contained in:
Emmanuele Bassi 2015-06-10 17:51:03 +01:00
parent 2c054aaaaa
commit eaf816f46b

View File

@ -371,7 +371,7 @@ AC_ARG_ENABLE(
enable_maintainer_flags=maintainer_default
)
MAINTAINER_COMPILER_FLAGS="-Wall -Werror=cast-align -Wformat -Wformat-security
MAINTAINER_COMPILER_FLAGS="-Wall -Wcast-align -Wformat -Wformat-security
-Werror=uninitialized -Werror=no-strict-aliasing
-Werror=empty-body -Werror=init-self -Werror=undef
-Werror=declaration-after-statement -Werror=vla