This commit is contained in:
R. Belmont 2013-09-09 04:10:06 +00:00
parent 7b00ef3c97
commit a868bc0dbd

View File

@ -463,7 +463,8 @@ ifeq ($(findstring 4.8.,$(TEST_GCC)),4.8.)
CCOMFLAGS += -Wno-narrowing -Wno-attributes -Wno-unused-local-typedefs -Wno-unused-variable -Wno-array-bounds -Wno-strict-overflow
endif
# disable the cast alignment warnings for the Rasberry Pi
# disable the cast alignment warnings for ARM-based systems (test needs to be fixed to check arch rather than a specific vendor)
#ifneq (,$(findstring arm,$(UNAME))) # does this work?
ifeq ($(findstring rpi,$(TEST_GCC)),rpi)
CCOMFLAGS += -Wno-cast-align
endif