Remove redundant CXXFLAGS and fix constant names
- Specifying -std=c++11 and -frtti tweaks those flags with clang/gcc. - The constants are prefixed with `GTEST_`, not `GTESTS_`.
This commit is contained in:
parent
7b42ad1434
commit
7b1136bd59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/import-googletest-1.8.1/; revision=344457
@ -1,10 +1,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_RTTI=1
|
GTESTS_CXXFLAGS+= -DGTEST_HAS_POSIX_RE=1
|
||||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_POSIX_RE=1
|
GTESTS_CXXFLAGS+= -DGTEST_HAS_PTHREAD=1
|
||||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_PTHREAD=1
|
GTESTS_CXXFLAGS+= -DGTEST_HAS_STREAM_REDIRECTION=1
|
||||||
GTESTS_CXXFLAGS+= -DGTESTS_HAS_STREAM_REDIRECTION=1
|
|
||||||
GTESTS_CXXFLAGS+= -DGTESTS_LANG_CXX11=1
|
|
||||||
GTESTS_CXXFLAGS+= -frtti
|
GTESTS_CXXFLAGS+= -frtti
|
||||||
GTESTS_CXXFLAGS+= -std=c++11
|
GTESTS_CXXFLAGS+= -std=c++11
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user