Changed force build of GWP-ASan options parser to be statically
authorMitch Phillips <mitchphillips@outlook.com>
Wed, 5 Jun 2019 01:27:39 +0000 (01:27 +0000)
committerMitch Phillips <mitchphillips@outlook.com>
Wed, 5 Jun 2019 01:27:39 +0000 (01:27 +0000)
linked instead of dynamic. This should help resolve a downstream
build order issue against libc++.

llvm-svn: 362566

compiler-rt/lib/gwp_asan/CMakeLists.txt

index 771192f..c531524 100644 (file)
@@ -77,7 +77,7 @@ if (COMPILER_RT_HAS_GWP_ASAN)
   foreach(arch ${GWP_ASAN_SUPPORTED_ARCH})
     add_compiler_rt_runtime(
       clang_rt.gwp_asan_options_parser
-      SHARED
+      STATIC
       ARCHS ${arch}
       SOURCES ${GWP_ASAN_OPTIONS_PARSER_SOURCES}
       ADDITIONAL_HEADERS ${GWP_ASAN_OPTIONS_PARSER_HEADERS}