Correct gmock/gtest expectations w.r.t. C++11/RTTI
Long story short, some of the tests were failing because they expected either dynamic_cast or RTTI to be functional and it wasn't. Move all common CXXFLAGS out to googletest.test.inc.mk and reference it from googletest.test.mk and .../googletest/Makefile.inc
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_RTTI=1
|
||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_POSIX_RE=1
|
||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_PTHREAD=1
|
||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_STREAM_REDIRECTION=1
|
||||
GTESTS_CXXFLAGS+= -DGTESTS_LANG_CXX11=1
|
||||
GTESTS_CXXFLAGS+= -frtti
|
||||
GTESTS_CXXFLAGS+= -std=c++11
|
||||
Reference in New Issue
Block a user