aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake
diff options
context:
space:
mode:
authorJordan Gordeev <jgopensource@proton.me>2025-06-22 11:11:40 +0200
committerKurt Jaeger <pi@FreeBSD.org>2025-06-22 11:11:40 +0200
commit95f54e562650032c2f9b27e9052d51de4237152f (patch)
tree671d027f2077d64753eac1141a3830482624cc42 /lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake
parent071051954750016c6646482b94bab20d4d80e722 (diff)
lang/swift510: New port
The Swift programming language -- a modern programming language with many great features. This port includes: * the Swift compiler * the Swift standard library * various tools * the Foundation framework * the Swift Package Manager (SwiftPM) * the run-time support that you need for running compiled programs PR: 286454 Reviewed-by: kib
Diffstat (limited to 'lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake')
-rw-r--r--lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake b/lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake
new file mode 100644
index 000000000000..68b83511e683
--- /dev/null
+++ b/lang/swift510/files/patch-llvm-project_compiler-rt_cmake_config-ix.cmake
@@ -0,0 +1,13 @@
+--- llvm-project/compiler-rt/cmake/config-ix.cmake.orig 2024-05-24 18:46:43 UTC
++++ llvm-project/compiler-rt/cmake/config-ix.cmake
+@@ -237,6 +237,10 @@ test_targets()
+
+ test_targets()
+
++if(COMPILER_RT_SUPPORTED_ARCH)
++ list(REMOVE_ITEM COMPILER_RT_SUPPORTED_ARCH i386)
++endif()
++
+ # Returns a list of architecture specific target cflags in @out_var list.
+ function(get_target_flags_for_arch arch out_var)
+ list(FIND COMPILER_RT_SUPPORTED_ARCH ${arch} ARCH_INDEX)