mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
0c785f0602
- Prune headers and tests no longer installed after the upgrade.
- Remove GoogleTest-related files when MK_GOOGLETEST == no.
- Disable `-Werror` with gcc to unbreak the gcc12 CI run with
`lib/googletest`. Any issues found by g++ will be filed
upstream and hopefully resolved in a future version.
- Remove clang -Werror issues which are resolved in version 1.14.0 to
avoid masking valid issues.
MFC after: 1 week
MFC with: 28f6c2f292
15 lines
370 B
Makefile
15 lines
370 B
Makefile
GTESTS_CXXFLAGS+= -DGTEST_HAS_POSIX_RE=1
|
|
GTESTS_CXXFLAGS+= -DGTEST_HAS_PTHREAD=1
|
|
GTESTS_CXXFLAGS+= -DGTEST_HAS_STREAM_REDIRECTION=1
|
|
GTESTS_CXXFLAGS+= -frtti
|
|
|
|
.include <bsd.compiler.mk>
|
|
|
|
# XXX: src.libnames.mk should handle adding this directory for libgtest's,
|
|
# libgmock's, etc, headers.
|
|
CXXFLAGS+= -I${DESTDIR}${INCLUDEDIR}/private
|
|
|
|
CXXSTD?= c++14
|
|
|
|
NO_WTHREAD_SAFETY=
|