1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Disable all warning for AlignOfTest.cpp.

llvm-svn: 304871
This commit is contained in:
Galina Kistanova 2017-06-07 06:30:27 +00:00
parent bf2abbfa92
commit cdd94e577c

View File

@ -66,6 +66,11 @@ add_llvm_unittest(SupportTests
xxhashTest.cpp
)
# Disable all warning for AlignOfTest.cpp,
# as it does things intentionally, and there is no reliable way of
# disabling all warnings for all the compilers by using pragmas.
set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
# ManagedStatic.cpp uses <pthread>.
target_link_libraries(SupportTests ${LLVM_PTHREAD_LIB})