Skip to content

Commit c95f27d

Browse files
committed
Compile with -stdlib=libc++ and -mmacosx-version-min=10.7
1 parent eb66a38 commit c95f27d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

building-and-packaging/mac/prepare

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ CPPFLAGS = [
3838
"-I%s"%INC,
3939
]
4040
CXXFLAGS = [
41-
"-mmacosx-version-min=10.6"
41+
"-mmacosx-version-min=10.7"
4242
]
4343

4444
LDFLAGS = [
4545
"-L%s"%LIB,
4646
"-F/System/Library/PrivateFrameworks",
47-
"-mmacosx-version-min=10.6"
47+
"-mmacosx-version-min=10.7"
4848
]
4949
LIBS = [
5050
"-framework MultitouchSupport",
@@ -196,7 +196,7 @@ def generateMakefile():
196196
print >> makefile
197197
print >> makefile, "SOURCES =", " ".join(sources)
198198
print >> makefile
199-
print >> makefile, "CXX = g++"
199+
print >> makefile, "CXX = g++ -stdlib=libc++"
200200
print >> makefile, "CPPFLAGS =", " ".join(CPPFLAGS)
201201
print >> makefile, "CXXFLAGS =", " ".join(CXXFLAGS)
202202
print >> makefile, "LDFLAGS =", " ".join(LDFLAGS)

0 commit comments

Comments
 (0)