mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
SDL: slightly more inclusive ARM check (nw)
This commit is contained in:
parent
abbb142459
commit
409a4b02d7
@ -464,10 +464,10 @@ 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
|
CCOMFLAGS += -Wno-narrowing -Wno-attributes -Wno-unused-local-typedefs -Wno-unused-variable -Wno-array-bounds -Wno-strict-overflow
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# disable the cast alignment warnings for ARM-based systems (test needs to be fixed to check arch rather than a specific vendor)
|
# minimal preliminary ARM support
|
||||||
#ifneq (,$(findstring arm,$(UNAME))) # does this work?
|
ifeq ($(findstring arm,$(UNAME)),arm)
|
||||||
ifeq ($(findstring rpi,$(TEST_GCC)),rpi)
|
|
||||||
CCOMFLAGS += -Wno-cast-align
|
CCOMFLAGS += -Wno-cast-align
|
||||||
|
DEFS += -DSDLMAME_NOASM -DSDLMAME_ARM
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else # compiler is specifically Clang
|
else # compiler is specifically Clang
|
||||||
|
Loading…
Reference in New Issue
Block a user