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
|
||||
CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
|
||||
|
||||
# Assorted warnings
|
||||
CXXFLAGS="$CXXFLAGS -Wcast-align"
|
||||
|
||||
case "$host" in
|
||||
arm-*-*)
|
||||
# Request byte alignment on arm
|
||||
|
|
|
@ -8,7 +8,7 @@ DISTCLEANFILES =
|
|||
MAINTAINERCLEANFILES =
|
||||
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 =
|
||||
|
||||
lib_LTLIBRARIES = libharfbuzz.la
|
||||
|
|
Loading…
Reference in New Issue