Skip to content

Commit

Permalink
Fix Cygwin patching after its update (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackhex authored Sep 6, 2024
1 parent b5edb17 commit 9a90bea
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 26 deletions.
3 changes: 0 additions & 3 deletions .github/scripts/binutils/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$BINUTILS_BUILD_PATH/Makefile" ]]; then
case "$PLATFORM" in
*cygwin*)
TARGET_OPTIONS="$TARGET_OPTIONS \
--disable-bootstrap \
--enable-static \
--enable-shared \
--enable-host-shared \
--enable-64-bit-bfd \
--enable-install-libiberty \
--enable-targets=x86_64-pep \
--with-sysroot=$TOOLCHAIN_PATH \
--with-build-sysroot=$TOOLCHAIN_PATH \
--with-system-zlib \
Expand Down
3 changes: 1 addition & 2 deletions .github/scripts/binutils/patch-cygwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ echo "::group::Patch Cygwin binutils"
fi

PATCH_DIR=$SOURCE_PATH/cygwin-packages/binutils
patch -p2 -i $PATCH_DIR/binutils-2.42-cygwin-config-rpath.patch
patch -p2 -i $PATCH_DIR/binutils-2.42-cygwin-pep-dll-double-definition.patch
patch -p2 -i $PATCH_DIR/binutils-2.43-cygwin-config-rpath.patch
echo "::endgroup::"

echo 'Success!'
2 changes: 0 additions & 2 deletions .github/scripts/toolchain/patch-cygwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ echo "::group::Patch Cygwin"
if [[ "$STAGE" = "1" ]]; then
patch -p1 -i $PATCH_DIR/0002-after-autogen.patch
fi

patch -p1 -i $PATCHES_PATH/cygwin/0003-master.patch
echo "::endgroup::"

echo 'Success!'
19 changes: 0 additions & 19 deletions patches/cygwin/0003-master.patch

This file was deleted.

0 comments on commit 9a90bea

Please sign in to comment.