1 --- llvm-16.0.0.src/tools/clang/tools/libclang/CMakeLists.txt 2023-03-17 13:26:07.000000000 +0100
2 +++ llvm-16.0.0.src/tools/clang/tools/libclang/CMakeLists.txt.orig 2023-03-22 18:37:02.933769276 +0100
7 - if (USE_VERSION_SCRIPT)
8 - target_link_options(libclang PRIVATE "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/libclang.map")
9 +# if (USE_VERSION_SCRIPT)
10 +# target_link_options(libclang PRIVATE "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/libclang.map")
11 # The Solaris 11.4 linker supports a subset of GNU ld version scripts,
12 # but requires a special option to enable it.
13 - if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
14 - target_link_options(libclang PRIVATE "-Wl,-z,gnu-version-script-compat")
16 +# if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
17 +# target_link_options(libclang PRIVATE "-Wl,-z,gnu-version-script-compat")
19 # Ensure that libclang.so gets rebuilt when the linker script changes.
20 - set_property(SOURCE ARCMigrate.cpp APPEND PROPERTY
21 - OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libclang.map)
22 +# set_property(SOURCE ARCMigrate.cpp APPEND PROPERTY
23 +# OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libclang.map)
25 - set_target_properties(libclang PROPERTIES
26 - VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX}
27 - ${LIBCLANG_SOVERSION_ARG})
29 +# set_target_properties(libclang PROPERTIES
30 +# VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX}
31 +# ${LIBCLANG_SOVERSION_ARG})
35 if(INTERNAL_INSTALL_PREFIX)