Skip to content

Commit f4805b4

Browse files
committed
Use --without-cross-bootstrap for stage1 Cygwin build
1 parent cb74696 commit f4805b4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/scripts/toolchain/build-cygwin.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$CYGWIN_BUILD_PATH/Makefile" ]]; then
2424
(cd $CYGWIN_SOURCE_PATH && patch -p1 -i $PATCHES_PATH/cygwin/0001-fix-autogen.patch)
2525
HOST_OPTIONS="$HOST_OPTIONS \
2626
--disable-cygserver \
27-
--disable-utils"
27+
--disable-utils \
28+
--without-cross-bootstrap"
2829
else
2930
HOST_OPTIONS="$HOST_OPTIONS \
3031
--enable-cygserver \
31-
--enable-utils"
32+
--enable-utils \
33+
--with-cross-bootstrap"
3234
fi
3335

3436
# ADDED: --disable-doc
@@ -45,7 +47,6 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$CYGWIN_BUILD_PATH/Makefile" ]]; then
4547
--disable-dumper \
4648
--with-sysroot=$TOOLCHAIN_PATH \
4749
--with-build-sysroot=$TOOLCHAIN_PATH \
48-
--with-cross-bootstrap \
4950
$HOST_OPTIONS \
5051
$TARGET_OPTIONS
5152
echo "::endgroup::"

0 commit comments

Comments
 (0)