forked from M-Labs/nix-scripts
windows/binutils: change to --build=x86_64-w64-mingw32
This commit is contained in:
parent
d86ea71a76
commit
89d700a796
@ -24,7 +24,7 @@ let
|
|||||||
set MSYS=c:\msys64
|
set MSYS=c:\msys64
|
||||||
set PATH=%MSYS%\usr\bin;%MSYS%\mingw64\bin;%PATH%
|
set PATH=%MSYS%\usr\bin;%MSYS%\mingw64\bin;%PATH%
|
||||||
tar xjf src.tar.bz2
|
tar xjf src.tar.bz2
|
||||||
bash -c "cd binutils-${version} && ./configure --build=x86_64-pc-mingw64 --prefix=${prefix}/Library --target=${target} && make -j$NIX_BUILD_CORES && make install"
|
bash -c "cd binutils-${version} && ./configure --build=x86_64-w64-mingw32 --prefix=${prefix}/Library --target=${target} && make -j$NIX_BUILD_CORES && make install"
|
||||||
rm -r ${prefix}/Library/or1k-linux
|
rm -r ${prefix}/Library/or1k-linux
|
||||||
cp %MSYS%/mingw64/bin/libiconv-2.dll ${prefix}/Library/bin/
|
cp %MSYS%/mingw64/bin/libiconv-2.dll ${prefix}/Library/bin/
|
||||||
tar cjf ${outName} -C ${prefix} .
|
tar cjf ${outName} -C ${prefix} .
|
||||||
|
Loading…
Reference in New Issue
Block a user