mirror of https://github.com/BOINC/boinc.git
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:
parent
37cdac1944
commit
910afe7c46
|
@ -28,7 +28,7 @@ AM_CPPFLAGS = \
|
||||||
-I$(top_srcdir)/vda \
|
-I$(top_srcdir)/vda \
|
||||||
$(PTHREAD_CFLAGS)
|
$(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)
|
AM_CXXFLAGS = $(AM_CFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue