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:
Solomon Peachy 2025-04-22 08:55:37 -04:00
parent 3975584497
commit bcf925a35f

View file

@ -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