Fix register printing in disassembling of push/pop of segment registers and in/out...
[oota-llvm.git] / utils / unittest / UnitTestMain / Makefile
index 5c1004942db8dc4c6c19506d532920c841227baa..30827795aff9795c3a5d355186067fed6687721a 100644 (file)
@@ -20,7 +20,13 @@ CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)
 CPP.Flags += -DGTEST_HAS_RTTI=0
 # libstdc++'s TR1 <tuple> header depends on RTTI and uses C++'0x features not
 # supported by Clang, so force googletest to use its own tuple implementation.
-# When we import googletest >=1.4.0, we can drop this line.
-CPP.Flags += -DGTEST_HAS_TR1_TUPLE=0
+CPP.Flags += -DGTEST_USE_OWN_TR1_TUPLE
+
+# Disable pthreads if LLVM was configured without them.
+ifneq ($(HAVE_PTHREAD), 1)
+  CPP.Flags += -DGTEST_HAS_PTHREAD=0
+endif
+
+NO_INSTALL = 1
 
 include $(LEVEL)/Makefile.common