From cc9278d38cf2c3e0517ad109e687279fd7684771 Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Fri, 9 Aug 2019 19:55:48 +0200 Subject: [PATCH] Explicitly use the gcc openmp implementation for the fuzzing build. --- cmake/toolchains/libfuzzer.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/toolchains/libfuzzer.cmake b/cmake/toolchains/libfuzzer.cmake index 86d45d304..c92ef8a9e 100644 --- a/cmake/toolchains/libfuzzer.cmake +++ b/cmake/toolchains/libfuzzer.cmake @@ -1,2 +1,2 @@ # Require libfuzzer specific flags -set(CMAKE_CXX_FLAGS "-O1 -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libstdc++") +set(CMAKE_CXX_FLAGS "-O1 -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libstdc++ -fopenmp=libgomp")