Index: projects/import-googletest-1.8.1/lib/googletest/gmock/tests/Makefile =================================================================== --- projects/import-googletest-1.8.1/lib/googletest/gmock/tests/Makefile (revision 344086) +++ projects/import-googletest-1.8.1/lib/googletest/gmock/tests/Makefile (revision 344087) @@ -1,7 +1,10 @@ # $FreeBSD$ PLAIN_TESTS_CXX+= gmock_stress_test LIBADD+= gmock +# XXX: https://github.com/google/googletest/pull/2119 +NO_WERROR= + .include Index: projects/import-googletest-1.8.1/lib/googletest/gtest/tests/Makefile =================================================================== --- projects/import-googletest-1.8.1/lib/googletest/gtest/tests/Makefile (revision 344086) +++ projects/import-googletest-1.8.1/lib/googletest/gtest/tests/Makefile (revision 344087) @@ -1,31 +1,34 @@ # $FreeBSD$ .include .PATH: ${GOOGLETEST_SRCROOT}/src ${GOOGLETEST_SRCROOT}/test PLAIN_TESTS_CXX+= gtest_environment_test PLAIN_TESTS_CXX+= gtest_no_test_unittest PLAIN_TESTS_CXX+= googletest-param-test-test PLAIN_TESTS_CXX+= gtest_premature_exit_test PLAIN_TESTS_CXX+= gtest_repeat_test PLAIN_TESTS_CXX+= gtest_stress_test PLAIN_TESTS_CXX+= gtest_throw_on_failure_ex_test PLAIN_TESTS_CXX+= gtest-unittest-api_test SRCS.googletest-param-test-test+= googletest-param-test-test.cc SRCS.googletest-param-test-test+= googletest-param-test2-test.cc SRCS.gtest_premature_exit_test+= gtest_premature_exit_test.cc .for test in ${PLAIN_TESTS_CXX} # XXX: linker error; no main(..) #SRCS.${test}= gtest-all.cc SRCS.${test}?= gtest_main.cc .endfor CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include CXXFLAGS+= -I${GOOGLETEST_SRCROOT} LIBADD= gtest +# XXX: https://github.com/google/googletest/pull/2119 +NO_WERROR= + .include