mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
codecs: Silence two sets of warnings in musepak and wma codecs
The warnings triggered by -Wshift-negative-value are in the upstream code, and presumably "correct" Change-Id: I1cf20e12208f493c69e0852477d800cd417a67c6
This commit is contained in:
parent
3975584497
commit
bcf925a35f
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@ ifneq ($(MEMORYSIZE),2)
|
|||
include $(RBCODECLIB_DIR)/codecs/cRSID/cRSID.make
|
||||
endif
|
||||
|
||||
ifeq ($(shell expr $(GCCNUM) \> 600),1)
|
||||
$(MUSEPACKLIB): CODECFLAGS += -Wno-shift-negative-value
|
||||
$(WMALIB): CODECFLAGS += -Wno-shift-negative-value
|
||||
endif
|
||||
|
||||
ifndef DEBUG
|
||||
# set CODECFLAGS per codec lib, since gcc takes the last -Ox and the last
|
||||
# in a -ffoo -fno-foo pair, there is no need to filter them out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue