aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2015-02-13 00:37:03 +0100
committerMemphiz <memphis@machzwo.de>2015-02-13 00:37:03 +0100
commit44bf2a2f18a0ee34d68156fcec69cb1b22c04031 (patch)
treea9c02d08f11063f5ef7f0e65bd3787bc08b89276 /Makefile.in
parentfc623918f4753b0b8f8b6e8d971039718a4929ab (diff)
[gtest/c++11/darwin] - add -DGTEST_USE_OWN_TR1_TUPLE=1 to testsuite for satisfying apple clang
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 897c07592d..6539711c05 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -718,14 +718,14 @@ testframework: $(GTEST_LIBS)
$(GTEST_LIBS): $(GTEST_DIR)/Makefile
$(GTEST_DIR)/Makefile: force
- $(MAKE) -C $(GTEST_DIR)
+ $(MAKE) CXXFLAGS="$(CXXFLAGS) -DGTEST_USE_OWN_TR1_TUPLE=1" -C $(GTEST_DIR)
$(CHECK_LIBS): force
- @$(MAKE) $(if $(V),,-s) -C $(@D)
+ @$(MAKE) CXXFLAGS="$(CXXFLAGS) -DGTEST_USE_OWN_TR1_TUPLE=1" $(if $(V),,-s) -C $(@D)
@APP_NAME_LC@-test: $(CHECK_LIBS) $(OBJSXBMC) $(DYNOBJSXBMC) $(NWAOBJSXBMC) $(GTEST_LIBS)
ifeq ($(findstring osx,@ARCH@), osx)
- $(SILENT_LD) $(CXX) $(LDFLAGS) $(GTEST_INCLUDES) -o $@ -Wl,-all_load,-ObjC $(DYNOBJSXBMC) $(NWAOBJSXBMC) $(OBJSXBMC) $(GTEST_LIBS) $(CHECK_LIBS) $(LIBS) $(CHECK_LIBADD) -rdynamic
+ $(SILENT_LD) $(CXX) $(CXXFLAGS) $(LDFLAGS) $(GTEST_INCLUDES) -o $@ -Wl,-all_load,-ObjC $(DYNOBJSXBMC) $(NWAOBJSXBMC) $(OBJSXBMC) $(GTEST_LIBS) $(CHECK_LIBS) $(LIBS) $(CHECK_LIBADD) -rdynamic
else
$(SILENT_LD) $(CXX) $(CXXFLAGS) $(LDFLAGS) $(GTEST_INCLUDES) -o $@ -Wl,--whole-archive $(DYNOBJSXBMC) $(OBJSXBMC) $(GTEST_LIBS) $(CHECK_LIBS) -Wl,--no-whole-archive $(NWAOBJSXBMC) $(LIBS) $(CHECK_LIBADD) -rdynamic
endif