diff --git a/unittests/Makefile b/unittests/Makefile index 1eb69abbc89..53c02a81223 100644 --- a/unittests/Makefile +++ b/unittests/Makefile @@ -13,7 +13,7 @@ include $(LEVEL)/Makefile.config LIBRARYNAME = UnitTestMain BUILD_ARCHIVE = 1 -CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/ +CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include CPP.Flags += -Wno-variadic-macros PARALLEL_DIRS = ADT ExecutionEngine Support VMCore MC diff --git a/utils/unittest/googletest/Makefile b/utils/unittest/googletest/Makefile index d709878449a..8366055944c 100644 --- a/utils/unittest/googletest/Makefile +++ b/utils/unittest/googletest/Makefile @@ -15,7 +15,7 @@ NO_VARIADIC_MACROS := $(shell $(CXX) -Wno-variadic-macros -fsyntax-only -xc /dev LIBRARYNAME = GoogleTest BUILD_ARCHIVE = 1 -CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include/ +CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS) ifeq ($(OS),MingW)