Skip to content

Commit

Permalink
Fix for OS X Lion
Browse files Browse the repository at this point in the history
  • Loading branch information
apavlo committed Feb 10, 2012
1 parent 2636d96 commit 739c582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# specific targets
CTX.CPPFLAGS = """-Wall -Wextra -Werror -Woverloaded-virtual -Wconversion
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Winit-self -Wno-sign-compare -Wno-unused-parameter -Wno-unused-but-set-variable
-Winit-self -Wno-sign-compare -Wno-unused-parameter
-pthread
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DNOCLOCK
-fno-omit-frame-pointer
Expand Down Expand Up @@ -147,7 +147,7 @@
CTX.JNIFLAGS = "-framework JavaVM,1.6"

if CTX.PLATFORM == "Linux":
CTX.CPPFLAGS += " -Wno-attributes -DLINUX -fPIC"
CTX.CPPFLAGS += " -Wno-attributes -DLINUX -fPIC -Wno-unused-but-set-variable"
CTX.NMFLAGS += " --demangle"

###############################################################################
Expand Down

0 comments on commit 739c582

Please sign in to comment.