File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,14 +214,14 @@ endif()
214214option (LLVM_INCLUDE_TESTS "Generate build targets for the runtimes unit tests." ON )
215215option (LLVM_INCLUDE_DOCS "Generate build targets for the runtimes documentation." ON )
216216option (LLVM_ENABLE_SPHINX "Use Sphinx to generate the runtimes documentation." OFF )
217- option (LLVM_EXECUTE_ONLY_CODE "Compile runtime libraries as execute-only." OFF )
217+ option (RUNTIMES_EXECUTE_ONLY_CODE "Compile runtime libraries as execute-only." OFF )
218218
219- if (LLVM_EXECUTE_ONLY_CODE )
219+ if (RUNTIMES_EXECUTE_ONLY_CODE )
220220 # If a target doesn't support or recognise -mexecute-only, Clang will simply ignore the flag.
221221 # We can check for this case using -Werror=unused-command-line-argument.
222222 check_c_compiler_flag("-mexecute-only -Werror=unused-command-line-argument" C_SUPPORTS_MEXECUTE_ONLY)
223223 if (NOT C_SUPPORTS_MEXECUTE_ONLY)
224- message (FATAL_ERROR "LLVM_EXECUTE_ONLY_CODE was turned on, but the target '${LLVM_TARGET_TRIPLE} '"
224+ message (FATAL_ERROR "RUNTIMES_EXECUTE_ONLY_CODE was turned on, but the target '${LLVM_TARGET_TRIPLE} '"
225225 " doesn't support the -mexecute-only flag" )
226226 endif ()
227227
You can’t perform that action at this time.
0 commit comments