Merge pull request #127875 from misuzu/binutils-armv7l-native-fix
binutils: apply R_ARM_COPY.patch only when cross-compiling to armv7l
This commit is contained in:
commit
db6e089456
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ stdenv.mkDerivation {
|
|||
# indeed GHC will refuse to compile with a binutils suffering from it. See
|
||||
# this comment for more information:
|
||||
# https://gitlab.haskell.org/ghc/ghc/issues/4210#note_78333
|
||||
lib.optional stdenv.targetPlatform.isAarch32 ./R_ARM_COPY.patch;
|
||||
lib.optional (stdenv.targetPlatform.isAarch32 && stdenv.hostPlatform.system != stdenv.targetPlatform.system) ./R_ARM_COPY.patch;
|
||||
|
||||
outputs = [ "out" "info" "man" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue