Merge pull request #40930 from obsidiansystems/binutils-always-patch

binutils: Always apply Aarch64 patch
This commit is contained in:
John Ericson 2018-05-22 13:31:53 -04:00 committed by GitHub
commit 75638e2de9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,8 +64,7 @@ stdenv.mkDerivation rec {
# https://sourceware.org/bugzilla/show_bug.cgi?id=22868
./gold-symbol-visibility.patch
] ++ stdenv.lib.optional targetPlatform.isiOS ./support-ios.patch
++ stdenv.lib.optionals targetPlatform.isAarch64 [
# Version 2.30 introduced strict requirements on ELF relocations which cannot
# be satisfied on aarch64 platform. Add backported fix from bugzilla.
# https://sourceware.org/bugzilla/show_bug.cgi?id=22764