about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRyan Lahfa2023-04-15 19:49:08 +0200
committerGitHub2023-04-15 19:49:08 +0200
commitdde4134fae629cc8342c4b3c15dbe354db1a9d6d (patch)
treede8334b860e26220195d28ba544889dc8935fec4 /pkgs
parent0cdd78126c07dbedca3eb3ba060379656eb0901e (diff)
parent6707fa40560a8244daf3bc1f79a1d38a5524c557 (diff)
Merge pull request #223256 from NixOS/llvmPackages_git.compiler-rt
llvmPackages_git.compiler-rt: disable iPhone simulator
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/llvm/git/compiler-rt/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/git/compiler-rt/default.nix b/pkgs/development/compilers/llvm/git/compiler-rt/default.nix
index 1abb0a411655..53c0924a07c5 100644
--- a/pkgs/development/compilers/llvm/git/compiler-rt/default.nix
+++ b/pkgs/development/compilers/llvm/git/compiler-rt/default.nix
@@ -66,6 +66,9 @@ stdenv.mkDerivation {
     "-DDARWIN_macosx_OVERRIDE_SDK_VERSION=ON"
     "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.darwinArch}"
     "-DDARWIN_osx_BUILTIN_ARCHS=${stdenv.hostPlatform.darwinArch}"
+    # `COMPILER_RT_DEFAULT_TARGET_ONLY` does not apply to Darwin:
+    # https://github.com/llvm/llvm-project/blob/27ef42bec80b6c010b7b3729ed0528619521a690/compiler-rt/cmake/base-config-ix.cmake#L153
+    "-DCOMPILER_RT_ENABLE_IOS=OFF"
   ];
 
   outputs = [ "out" "dev" ];