python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / clang-17 / patches / 08-no-version-script.patch
bloba41e406554a6c1120ccc5d87e2b942bf5560074a
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
3 @@ -184,21 +184,21 @@
5 endif()
6 endif()
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")
15 - endif()
16 +# if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
17 +# target_link_options(libclang PRIVATE "-Wl,-z,gnu-version-script-compat")
18 +# endif()
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})
28 - endif()
29 +# set_target_properties(libclang PROPERTIES
30 +# VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX}
31 +# ${LIBCLANG_SOVERSION_ARG})
32 +# endif()
33 endif()
35 if(INTERNAL_INSTALL_PREFIX)