Permalink
Browse files

Allow user to add to CPPFLAGS, CXXFLAGS, LDFLAGS

User-specified CPPFLAGS, CXXFLAGS, LDFLAGS are now appended to
the project’s internal values.
  • Loading branch information...
ryandesign committed Sep 30, 2016
1 parent 48f4a0d commit 3c3a4de12c3decc3ccf2bfcc775a22096799f007
Showing with 3 additions and 3 deletions.
  1. +3 −3 building-and-packaging/mac/prepare
@@ -205,9 +205,9 @@ def generateMakefile():
print >> makefile, "SOURCES =", " ".join(sources)
print >> makefile
print >> makefile, "CXX ?= g++"
print >> makefile, "CPPFLAGS =", " ".join(CPPFLAGS)
print >> makefile, "CXXFLAGS =", " ".join(CXXFLAGS)
print >> makefile, "LDFLAGS =", " ".join(LDFLAGS)
print >> makefile, "CPPFLAGS :=", " ".join(CPPFLAGS), "$(CPPFLAGS)"
print >> makefile, "CXXFLAGS :=", " ".join(CXXFLAGS), "$(CXXFLAGS)"
print >> makefile, "LDFLAGS :=", " ".join(LDFLAGS), "$(LDFLAGS)"
print >> makefile, "LIBS =", " ".join(LIBS)
print >> makefile
print >> makefile, "OBJECTS = $(SOURCES:.cpp=.o)"

0 comments on commit 3c3a4de

Please sign in to comment.