build: Add -Wcast-align to list of compiler warnings we are interested in. It'll help prevent crashes in CPU Architectures that are strict on there alignment policies. (From: Jeffrey Walton)

This commit is contained in:
Rom Walton 2013-03-05 16:47:37 -05:00 committed by Oliver Bock
parent 37cdac1944
commit 910afe7c46
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/vda \
$(PTHREAD_CFLAGS)
AM_CFLAGS = -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing
AM_CFLAGS = -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align
AM_CXXFLAGS = $(AM_CFLAGS)