llvm-toolchain/debian/patches/bolt-disable-emit-relocs.patch
2023-01-04 11:42:43 +01:00

15 lines
746 B
Diff

Index: llvm-toolchain-snapshot_16~++20230104114047+37228b1baa48/bolt/tools/merge-fdata/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_16~++20230104114047+37228b1baa48.orig/bolt/tools/merge-fdata/CMakeLists.txt
+++ llvm-toolchain-snapshot_16~++20230104114047+37228b1baa48/bolt/tools/merge-fdata/CMakeLists.txt
@@ -18,6 +18,6 @@ install(PROGRAMS
)
# Emit relocations for BOLT meta test (bolt/test/runtime/meta-merge-fdata.test)
-if (BOLT_INCLUDE_TESTS AND UNIX AND NOT APPLE)
- target_link_options(merge-fdata PRIVATE LINKER:--emit-relocs)
-endif()
+# if (BOLT_INCLUDE_TESTS AND UNIX AND NOT APPLE)
+# target_link_options(merge-fdata PRIVATE LINKER:--emit-relocs)
+# endif()