Skip to content

Commit

Permalink
Don't override the user's CXX environment variable
Browse files Browse the repository at this point in the history
The user may want to specify a different compiler.
  • Loading branch information
ryandesign committed Sep 30, 2016
1 parent 3167605 commit 48f4a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion building-and-packaging/mac/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def generateMakefile():
print >> makefile
print >> makefile, "SOURCES =", " ".join(sources)
print >> makefile
print >> makefile, "CXX = g++"
print >> makefile, "CXX ?= g++"
print >> makefile, "CPPFLAGS =", " ".join(CPPFLAGS)
print >> makefile, "CXXFLAGS =", " ".join(CXXFLAGS)
print >> makefile, "LDFLAGS =", " ".join(LDFLAGS)
Expand Down

0 comments on commit 48f4a0d

Please sign in to comment.