Browse Source

Update makefile.osx to prevent some compiling errors under osx 10.9

osx 10.9 changed the default stdlib to libc++. You may need to compile with libstdc++ to prevent some errors. At the same time, boost should be compiled use a cxxflag '-stdlib=libstdc++'
0.8
Mr.Coder 11 years ago committed by Warren Togami
parent
commit
4a96ed8039
  1. 3
      src/makefile.osx

3
src/makefile.osx vendored

@ -67,6 +67,9 @@ else @@ -67,6 +67,9 @@ else
DEBUGFLAGS = -g
endif
# osx 10.9 has changed the stdlib default to libc++. To prevent some link error, you may need to use libstdc++
CFLAGS += -stdlib=libstdc++
# ppc doesn't work because we don't support big-endian
CFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)

Loading…
Cancel
Save