MFH: r561892
devel/benchmark: fix build on GCC architectures Don't add -Wno-thread-safety-analysis, which doesn't work with GCC and add -Wno-stringop-truncation.
This commit is contained in:
parent
2109b27540
commit
dc76343edb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=561893
|
@ -19,7 +19,9 @@ USE_LDCONFIG= yes
|
|||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
CMAKE_OFF= BENCHMARK_ENABLE_TESTING
|
||||
|
||||
CXXFLAGS+= -Wno-thread-safety-analysis # workaround for https://github.com/google/benchmark/issues/655
|
||||
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||
CXXFLAGS_clang= -Wno-thread-safety-analysis # workaround for https://github.com/google/benchmark/issues/655
|
||||
CXXFLAGS_gcc= -Wno-stringop-truncation
|
||||
CXXFLAGS+= -Wno-sign-compare # workaround for https://github.com/google/googletest/issues/1752
|
||||
|
||||
do-test: # Broken: https://github.com/google/benchmark/issues/979
|
||||
|
|
Loading…
Reference in New Issue