build: No need to conditionally include -Wshadow
Cogl is not in tree any more, and compiler warnings are properly addressed.
This commit is contained in:
parent
0eb300e2ee
commit
dd9e43e98d
1 changed files with 1 additions and 8 deletions
|
@ -401,14 +401,6 @@ AS_IF([test "x$enable_wayland_compositor" = "xyes"],
|
||||||
|
|
||||||
AM_CONDITIONAL(SUPPORT_WAYLAND_COMPOSITOR, [test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"])
|
AM_CONDITIONAL(SUPPORT_WAYLAND_COMPOSITOR, [test "x$SUPPORT_WAYLAND_COMPOSITOR" = "x1"])
|
||||||
|
|
||||||
AS_IF([test "x$enable_wayland_compositor" != "xyes" -a "x$enable_wayland" != "xyes"],
|
|
||||||
[
|
|
||||||
# The wayland headers introduce so much symbol shadowing that build
|
|
||||||
# logs become incomprehensible with -Wshadow so we only use it for
|
|
||||||
# non-wayland builds.
|
|
||||||
MAINTAINER_COMPILER_FLAGS="-Wshadow"
|
|
||||||
])
|
|
||||||
|
|
||||||
AS_IF([test "x$enable_cex100" = "xyes"],
|
AS_IF([test "x$enable_cex100" = "xyes"],
|
||||||
[
|
[
|
||||||
CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
|
CLUTTER_BACKENDS="$CLUTTER_BACKENDS cex100"
|
||||||
|
@ -953,6 +945,7 @@ MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
|
||||||
-Wcast-align
|
-Wcast-align
|
||||||
-Wuninitialized
|
-Wuninitialized
|
||||||
-Wno-strict-aliasing
|
-Wno-strict-aliasing
|
||||||
|
-Wshadow
|
||||||
-Werror=logical-op
|
-Werror=logical-op
|
||||||
-Werror=pointer-arith
|
-Werror=pointer-arith
|
||||||
-Werror=missing-declarations
|
-Werror=missing-declarations
|
||||||
|
|
Loading…
Reference in a new issue