Skip to content

Commit 20e0bac

Browse files
committed
[Libomptarget][Fix] Remove duplicate version script for host builds
Summary: This causes an error on some linkers and was mistakenly kept in.
1 parent c374788 commit 20e0bac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ else()
3131
target_include_directories(omptarget.rtl.${machine} PRIVATE dynamic_ffi)
3232
endif()
3333

34-
if(LIBOMP_HAVE_VERSION_SCRIPT_FLAG)
35-
target_link_libraries(omptarget.rtl.${machine} PRIVATE
36-
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../exports")
37-
endif()
38-
3934
# Install plugin under the lib destination folder.
4035
install(TARGETS omptarget.rtl.${machine}
4136
LIBRARY DESTINATION "${OPENMP_INSTALL_LIBDIR}")

0 commit comments

Comments
 (0)