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 @@ -233,14 +233,14 @@ endif()
233233option (LLVM_INCLUDE_TESTS "Generate build targets for the runtimes unit tests." ON )
234234option (LLVM_INCLUDE_DOCS "Generate build targets for the runtimes documentation." ON )
235235option (LLVM_ENABLE_SPHINX "Use Sphinx to generate the runtimes documentation." OFF )
236- option (LLVM_EXECUTE_ONLY_CODE "Compile runtime libraries as execute-only." OFF )
236+ option (RUNTIMES_EXECUTE_ONLY_CODE "Compile runtime libraries as execute-only." OFF )
237237
238- if (LLVM_EXECUTE_ONLY_CODE )
238+ if (RUNTIMES_EXECUTE_ONLY_CODE )
239239 # If a target doesn't support or recognise -mexecute-only, Clang will simply ignore the flag.
240240 # We can check for this case using -Werror=unused-command-line-argument.
241241 check_c_compiler_flag("-mexecute-only -Werror=unused-command-line-argument" C_SUPPORTS_MEXECUTE_ONLY)
242242 if (NOT C_SUPPORTS_MEXECUTE_ONLY)
243- message (FATAL_ERROR "LLVM_EXECUTE_ONLY_CODE was turned on, but the target '${LLVM_TARGET_TRIPLE} '"
243+ message (FATAL_ERROR "RUNTIMES_EXECUTE_ONLY_CODE was turned on, but the target '${LLVM_TARGET_TRIPLE} '"
244244 " doesn't support the -mexecute-only flag" )
245245 endif ()
246246
You can’t perform that action at this time.
0 commit comments