some small tweaks for Rasberry Pi out-of-the-box compilation experience (nw)

This commit is contained in:
Oliver Stöneberg 2013-09-08 17:05:52 +00:00
parent 4492240b14
commit 07b93f1fe4
2 changed files with 11 additions and 0 deletions

View File

@ -83,6 +83,9 @@ _osd_exchange64(INT64 volatile *ptr, INT64 exchange)
#endif /* __ppc64__ || __PPC64__ */
#else
#error "no matching assembler implementations found - please compile with NOASM=1"
#endif

View File

@ -79,6 +79,9 @@ USE_DISPATCH_GL = 1
# uncomment to disable MIDI
# NO_USE_MIDI = 1
# uncomment to disable implementations based on assembler code
# NOASM = 1
###########################################################################
################## END USER-CONFIGURABLE OPTIONS ######################
###########################################################################
@ -459,6 +462,11 @@ endif
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
ifeq ($(findstring rpi,$(TEST_GCC)),rpi)
CCOMFLAGS += -Wno-cast-align
endif
endif
#-------------------------------------------------