Skip to content

Commit 491e8ef

Browse files
committed
add comment
1 parent 109ee71 commit 491e8ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/loader/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ if(UR_ENABLE_SANITIZER)
189189
if(NOT EXISTS ${LIBCXX_PATH} OR NOT EXISTS ${LIBCXX_ABI_PATH})
190190
message(FATAL_ERROR "libc++ is required but can't find the libraries")
191191
endif()
192+
# Link with gcc_s fisrt to avoid some symbols resolve to libc++/libc++abi/libunwind's one
192193
target_link_libraries(ur_loader PRIVATE gcc_s ${LIBCXX_PATH} ${LIBCXX_ABI_PATH})
193194
endif()
194195
endif()

0 commit comments

Comments
 (0)