We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e134243 + 14d2830 commit 82dd644Copy full SHA for 82dd644
2 files changed
Makefile
@@ -87,6 +87,10 @@ ifeq ($(CXX), g++)
87
override CXXFLAGS += -std=c++0x
88
else ifeq ($(CXX), clang++)
89
90
+else ifeq ($(CXX), c++)
91
+ ifeq ($(shell uname -s), Darwin)
92
+ override CXXFLAGS += -std=c++0x
93
+ endif
94
endif
95
96
ifeq ($(HAVE_RULES),yes)
tools/dmake.cpp
@@ -359,6 +359,10 @@ int main(int argc, char **argv)
359
<< " override CXXFLAGS += -std=c++0x\n"
360
<< "else ifeq ($(CXX), clang++)\n"
361
362
+ << "else ifeq ($(CXX), c++)\n"
363
+ << " ifeq ($(shell uname -s), Darwin)\n"
364
+ << " override CXXFLAGS += -std=c++0x\n"
365
+ << " endif\n"
366
<< "endif\n"
367
<< "\n";
368
0 commit comments