summary refs log tree commit diff
diff options
context:
space:
mode:
authorkvtb <76634406+kvtb@users.noreply.github.com>2021-07-14 08:26:36 +0000
committerGitHub <noreply@github.com>2021-07-14 08:26:36 +0000
commita7c4537a729929f6670349f67d248ffb6ff800da (patch)
tree854c00e7d41bad962054a9993fcf80277eae7ca2
parent9ea790e2f024bfaaf891890dea752a9d1ff8f3e3 (diff)
downloadnixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.tar
nixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.tar.gz
nixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.tar.bz2
nixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.tar.lz
nixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.tar.xz
nixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.tar.zst
nixpkgs-a7c4537a729929f6670349f67d248ffb6ff800da.zip
pkgsi686Linux.llvmPackages_12.compiler-rt: fix build
The patch is from old LLVM, which is applied in wrong place of file
-rw-r--r--pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch b/pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch
index f6f9336ad5a..66742e5b149 100644
--- a/pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch
+++ b/pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch
@@ -2,9 +2,7 @@ diff --git a/lib/builtins/CMakeLists.txt b/lib/builtins/CMakeLists.txt
 index 3a66dd9c3fb..7efc85d9f9f 100644
 --- a/lib/builtins/CMakeLists.txt
 +++ b/lib/builtins/CMakeLists.txt
-@@ -301,6 +301,10 @@ if (NOT MSVC)
-     i386/umoddi3.S
-   )
+@@ -345,4 +345,8 @@ if (NOT MSVC)
  
 +  set(i486_SOURCES ${i386_SOURCES})
 +  set(i586_SOURCES ${i386_SOURCES})