Skip to content

Commit

Permalink
Revert "spearmint: Turn off array-bounds warnings for opus/silk/NLSF2…
Browse files Browse the repository at this point in the history
…A.c"

Breaks compiling on Mac OS X 10.6.8.

This reverts commit a3da9be.
  • Loading branch information
zturtleman committed May 13, 2016
1 parent 35fe7b2 commit 10732b1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 10732b1

Please sign in to comment.