From 10732b1ba5d75b227e91c38047b2746fd2f6428b Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 13 May 2016 09:10:42 -0500 Subject: [PATCH] Revert "spearmint: Turn off array-bounds warnings for opus/silk/NLSF2A.c" Breaks compiling on Mac OS X 10.6.8. This reverts commit a3da9bed8b70f3c8cce08cfbdcf21d0466e58a1d. --- Makefile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Makefile b/Makefile index 8ccc22643..20dad2f4b 100644 --- a/Makefile +++ b/Makefile @@ -1094,12 +1094,6 @@ $(echo_cmd) "CC $<" $(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< endef -# turn off the false positive array-bounds warnings in $(OPUSDIR)/silk/NLSF2A.c -define DO_NLSF2A_CC -$(echo_cmd) "CC $<" -$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) -Wno-array-bounds $(OPTIMIZE) -o $@ -c $< -endef - define DO_REF_CC $(echo_cmd) "REF_CC $<" $(Q)$(CC) $(SHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< @@ -2047,9 +2041,6 @@ $(B)/client/opus/%.o: $(OPUSDIR)/celt/%.c $(B)/client/opus/%.o: $(OPUSDIR)/silk/%.c $(DO_CC) -$(B)/client/opus/NLSF2A.o: $(OPUSDIR)/silk/NLSF2A.c - $(DO_NLSF2A_CC) - $(B)/client/opus/%.o: $(OPUSDIR)/silk/float/%.c $(DO_CC)