summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Finck <colin@reactos.org>2019-08-26 16:49:47 (GMT)
committerColin Finck <colin@reactos.org>2019-08-26 16:49:47 (GMT)
commit21eb8669ff576aa0d26159845c22f65227c1cc30 (patch)
treecc6ff8851bbb025b5f08ee066f46bd5382cd6446
parent0dfa8a48eb9308a95d5574aa1786700b2cb4ece3 (diff)
downloadNinja-21eb8669ff576aa0d26159845c22f65227c1cc30.zip
Ninja-21eb8669ff576aa0d26159845c22f65227c1cc30.tar.gz
Ninja-21eb8669ff576aa0d26159845c22f65227c1cc30.tar.bz2
Fix MinGW bootstrap build by applying the fix in appveyor.yml permanently.
-rw-r--r--appveyor.yml1
-rwxr-xr-xconfigure.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 02399fa..f0b92b8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -28,7 +28,6 @@ for:
build_script:
ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n
pacman -S --quiet --noconfirm --needed re2c 2>&1\n
- sed -i 's|cmd /c `$ar cqs `$out.tmp `$in \\&\\& move /Y `$out.tmp `$out|`$ar crs `$out `$in|g' configure.py\n
./configure.py --bootstrap --platform mingw 2>&1\n
./ninja all\n
./ninja_test 2>&1\n
diff --git a/configure.py b/configure.py
index 529c0e9..1d6ee7d 100755
--- a/configure.py
+++ b/configure.py
@@ -437,7 +437,7 @@ if host.is_msvc():
description='LIB $out')
elif host.is_mingw():
n.rule('ar',
- command='cmd /c $ar cqs $out.tmp $in && move /Y $out.tmp $out',
+ command='$ar crs $out $in',
description='AR $out')
else:
n.rule('ar',