Add -Wcast-align
This commit is contained in:
parent
a98d0ab186
commit
11c4ad439e
|
@ -69,6 +69,9 @@ if test "x$GCC" = "xyes"; then
|
||||||
# Hide inline methods
|
# Hide inline methods
|
||||||
CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
|
CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
|
||||||
|
|
||||||
|
# Assorted warnings
|
||||||
|
CXXFLAGS="$CXXFLAGS -Wcast-align"
|
||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
arm-*-*)
|
arm-*-*)
|
||||||
# Request byte alignment on arm
|
# Request byte alignment on arm
|
||||||
|
|
|
@ -8,7 +8,7 @@ DISTCLEANFILES =
|
||||||
MAINTAINERCLEANFILES =
|
MAINTAINERCLEANFILES =
|
||||||
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
|
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
|
||||||
|
|
||||||
# The following warning options are useful for debugging: -Wpadded -Wcast-align
|
# The following warning options are useful for debugging: -Wpadded
|
||||||
#AM_CXXFLAGS =
|
#AM_CXXFLAGS =
|
||||||
|
|
||||||
lib_LTLIBRARIES = libharfbuzz.la
|
lib_LTLIBRARIES = libharfbuzz.la
|
||||||
|
|
Loading…
Reference in New Issue