projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7091da
)
[CMake] Fix the option declaration
author
Petr Hosek
<phosek@google.com>
Tue, 22 Jun 2021 18:58:26 +0000
(11:58 -0700)
committer
Petr Hosek
<phosek@google.com>
Tue, 22 Jun 2021 18:58:26 +0000
(11:58 -0700)
This addresses build issue introduced in
b9792638b0bfb308e0c7c125ac78f4ebf910c11b
.
compiler-rt/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/compiler-rt/CMakeLists.txt
b/compiler-rt/CMakeLists.txt
index
24018ca
..
c961c7f
100644
(file)
--- a/
compiler-rt/CMakeLists.txt
+++ b/
compiler-rt/CMakeLists.txt
@@
-446,7
+446,7
@@
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
else()
set(SANITIZER_NO_UNDEFINED_SYMBOLS_DEFAULT OFF)
endif
-option(SANITIZER_NO_UNDEFINED_SYMBOLS ${SANITIZER_NO_UNDEFINED_SYMBOLS_DEFAULT})
+option(SANITIZER_NO_UNDEFINED_SYMBOLS
"Report error on unresolved symbol references"
${SANITIZER_NO_UNDEFINED_SYMBOLS_DEFAULT})
if (SANITIZER_NO_UNDEFINED_SYMBOLS)
list(APPEND SANITIZER_COMMON_LINK_FLAGS -Wl,-z,defs)
endif()