Browse Source

Add a flag to Mac build to eliminate an unnecessary build warning.

Adam Ierymenko 11 years ago
parent
commit
8ffa6b2bb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.mac

+ 1 - 1
Makefile.mac

@@ -6,7 +6,7 @@ DEFS=
 LIBS=-lm
 LIBS=-lm
 
 
 # Uncomment for a release optimized universal binary build
 # Uncomment for a release optimized universal binary build
-CFLAGS=-arch i386 -arch x86_64 -Wall -O4 -pthread -mmacosx-version-min=10.6 -DNDEBUG $(INCLUDES) $(DEFS)
+CFLAGS=-arch i386 -arch x86_64 -Wall -O4 -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
 STRIP=strip
 STRIP=strip
 
 
 # Uncomment for a debug build
 # Uncomment for a debug build