================
@@ -109,8 +109,14 @@ function(add_bitcode_entrypoint_library target_name
base_target_name)
endforeach()
add_executable(${target_name} ${objects})
- target_link_options(${target_name} PRIVATE "${LIBC_COMPILE_OPTIONS_DEFAULT}"
+ if("${LLVM_DEFAULT_TARGET_TRIPLE}" MATCHES "^spirv" OR
+ "${CMAKE_CXX_COMPILER_TARGET}" MATCHES "^spirv")
----------------
fineg74 wrote:
Fixed
https://github.com/llvm/llvm-project/pull/181049
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits