Allow syncing the source to the pinned version by setting SYNC=1 when running the build scripts
This should allow updating an existing build to the desired, pinned version.
This commit is contained in:
1 parent
266c2fae6d
commit
8c15cb4544
4 files changed
+41
-17
No files matched your search
+6
-3
@@ -14,13 +14,16 @@ export PATH=$PREFIX/bin:$PATH
|
||||
|
||||
if [ ! -d mingw-w64 ]; then
|
||||
git clone git://git.code.sf.net/p/mingw-w64/mingw-w64
|
||||
cd mingw-w64
|
||||
git checkout 66fab9591c250ade399e9fe91ceda239a735649c
|
||||
cd ..
|
||||
CHECKOUT=1
|
||||
fi
|
||||
|
||||
cd mingw-w64
|
||||
|
||||
if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then
|
||||
[ -z "$SYNC" ] || git fetch
|
||||
git checkout 66fab9591c250ade399e9fe91ceda239a735649c
|
||||
fi
|
||||
|
||||
if [ -z "$NOHEADERS" ]; then
|
||||
# TODO: Only install if they have changed? Otherwise this forces the CRT
|
||||
# to be rebuilt even if headers haven't changed. Currently set $NOHEADERS
|
||||
|
||||
Reference in new issue
Block a user