Merge pull request #169345 from thefloweringash/binutils-cross-from-darwin

binutils: fix cross compilation from darwin
This commit is contained in:
Bernardo Meurer 2022-04-19 12:34:56 -07:00 committed by GitHub
commit 59f5ec632d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ stdenv.mkDerivation {
texinfo
]
++ lib.optionals targetPlatform.isiOS [ autoreconfHook ]
++ lib.optionals targetPlatform.isDarwin [ autoconf269 automake gettext libtool ]
++ lib.optionals buildPlatform.isDarwin [ autoconf269 automake gettext libtool ]
++ lib.optionals targetPlatform.isVc4 [ flex ]
;
@ -118,7 +118,7 @@ stdenv.mkDerivation {
inherit noSysDirs;
preConfigure = (lib.optionalString targetPlatform.isDarwin ''
preConfigure = (lib.optionalString buildPlatform.isDarwin ''
for i in */configure.ac; do
pushd "$(dirname "$i")"
echo "Running autoreconf in $PWD"