diff options
-rw-r--r-- | unittests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 4ae9d63762..f3de8349b2 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -22,6 +22,10 @@ if (NOT LLVM_ENABLE_THREADS) add_definitions(-DGTEST_HAS_PTHREAD=0) endif() +if(SUPPORTS_NO_VARIADIC_MACROS_FLAG) + add_definitions("-Wno-variadic-macros") +endif() + set(LLVM_LINK_COMPONENTS jit interpreter |