summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2019-12-13 10:55:53 -0800
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2019-12-13 10:55:53 -0800
commitd6c445ea6907c7165ace0167327d557b0a786604 (patch)
treed97214be0a2946099476d4462497f8f349b716e1 /compiler-rt
parent8e8e3181aa52301f505a7445f05b21d7fc6882a9 (diff)
downloadbcm5719-llvm-d6c445ea6907c7165ace0167327d557b0a786604.tar.gz
bcm5719-llvm-d6c445ea6907c7165ace0167327d557b0a786604.zip
[NFC] Guard scudo_standalone's optional dependency on GWP-ASan behind flags.
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/scudo/standalone/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/standalone/CMakeLists.txt b/compiler-rt/lib/scudo/standalone/CMakeLists.txt
index 6b3532b9d6b..920034b3577 100644
--- a/compiler-rt/lib/scudo/standalone/CMakeLists.txt
+++ b/compiler-rt/lib/scudo/standalone/CMakeLists.txt
@@ -1,5 +1,7 @@
add_compiler_rt_component(scudo_standalone)
-add_dependencies(scudo_standalone gwp_asan)
+if (COMPILER_RT_HAS_GWP_ASAN)
+ add_dependencies(scudo_standalone gwp_asan)
+endif()
include_directories(../..)
OpenPOWER on IntegriCloud