From a868bc0dbda3a43fd741b8cff17d13d683ac91b3 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Mon, 9 Sep 2013 04:10:06 +0000 Subject: [PATCH] (nw) --- src/osd/sdl/sdl.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak index fa93477786b..681cecc3d44 100644 --- a/src/osd/sdl/sdl.mak +++ b/src/osd/sdl/sdl.mak @@ -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