aboutsummaryrefslogtreecommitdiff
path: root/lib/googletest/tests/gtest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/googletest/tests/gtest/Makefile')
-rw-r--r--lib/googletest/tests/gtest/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/googletest/tests/gtest/Makefile b/lib/googletest/tests/gtest/Makefile
index 07b43884dedd..5834ca788985 100644
--- a/lib/googletest/tests/gtest/Makefile
+++ b/lib/googletest/tests/gtest/Makefile
@@ -1,5 +1,3 @@
-# $FreeBSD$
-
.include <bsd.init.mk>
.PATH: ${GOOGLETEST_SRCROOT}/src ${GOOGLETEST_SRCROOT}/test
@@ -30,17 +28,17 @@ CXXFLAGS.gtest-death-test_ex_catch_test+= \
CXXFLAGS.gtest-death-test_ex_nocatch_test+= \
-DGTEST_ENABLE_CATCH_EXCEPTIONS_=0
-SRCS.googletest-param-test-test= \
- googletest-param-test-test.cc \
+SRCS.googletest-param-test-test= \
+ googletest-param-test-test.cc \
googletest-param-test2-test.cc
LIBADD+= gtest
+CXXFLAGS.clang+= -Wno-error=missing-variable-declarations
+MK_WERROR.gcc= no
+
# XXX: explicitly listing -lpthread is incorrect. src.libnames.mk should be
# handling this.
-LIBADD.gtest_stress_test+= pthread
-
-# The next release will resolve a number of build warnings issues.
-MK_WERROR= no
+LIBADD.gtest_stress_test+= pthread
.include <bsd.test.mk>