audio/libsrc: fix build warning
libsamplerate/src/samplerate.c:468:5: warning: "CPU_CLIPS_POSITIVE" is not defined, evaluates to 0 [-Wundef] 468 | #if CPU_CLIPS_POSITIVE == 0 | ^~~~~~~~~~~~~~~~~~ Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
This commit is contained in:
parent
510d55a783
commit
be48a913cc
|
@ -47,7 +47,7 @@ CFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
|
|||
|
||||
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)include$(DELIM)nuttx$(DELIM)audio
|
||||
|
||||
CFLAGS += -DCPU_CLIPS_NEGATIVE=0
|
||||
CFLAGS += -DCPU_CLIPS_NEGATIVE=0 -DCPU_CLIPS_POSITIVE=0
|
||||
|
||||
ifeq ($(CONFIG_SINC_FAST_CONVERTER),y)
|
||||
CFLAGS += -DENABLE_SINC_FAST_CONVERTER
|
||||
|
|
Loading…
Reference in New Issue