conda-windows: fix binutils target handling

This commit is contained in:
Sebastien Bourdeauducq 2020-06-16 12:52:42 +08:00
parent d75e222bfc
commit f464b61290
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ let
set LDFLAGS=-L%PREFIX:\=/%/Library/lib/
sh ../configure --build=%TRIPLE% ^
--prefix="%PREFIX:\=/%/Library" ^
--target=or1k-linux
--target=${target}
if errorlevel 1 exit 1
make -j4
@ -51,7 +51,7 @@ let
if errorlevel 1 exit 1
rem this is a copy of prefixed executables
rmdir /S /Q %PREFIX%\Library\or1k-linux
rmdir /S /Q %PREFIX%\Library\${target}
EOF
${wfvm.utils.win-exec}/bin/win-exec "mkdir binutils"

View File

@ -37,7 +37,7 @@ wfvm.makeWindowsImage {
# administratorPassword = "12345";
# Imperative installation commands, to be installed incrementally
installCommands = with wfvm.layers; [ anaconda3 msys2 msys2-packages ];
installCommands = with wfvm.layers; [ anaconda3 ];
# services = {
# # Enable remote management