From 910afe7c46f2bafc1e540cf23e373887300a3cc6 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 5 Mar 2013 16:47:37 -0500 Subject: [PATCH] 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) --- Makefile.incl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.incl b/Makefile.incl index aae95fbdcd..45b3749310 100644 --- a/Makefile.incl +++ b/Makefile.incl @@ -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)