From 2bb57f105f5ef2fb6ea2b82eb8657e59985f42dd Mon Sep 17 00:00:00 2001 From: Freddie Chopin Date: Mon, 8 Apr 2024 22:20:59 +0200 Subject: [PATCH] GCC no longer needs patching for MinGW builds --- build-bleeding-edge-toolchain.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build-bleeding-edge-toolchain.sh b/build-bleeding-edge-toolchain.sh index 750a627..c935013 100755 --- a/build-bleeding-edge-toolchain.sh +++ b/build-bleeding-edge-toolchain.sh @@ -800,14 +800,6 @@ extract() { extract "${binutilsArchive}" extract "${expatArchive}" extract "${gccArchive}" -if [ ! -f "${gcc}_patched" ]; then - messageB "Patching ${gcc}" - ( - cd "${gcc}" - sed -Ei 's,^( *)#( *)include ,\1#\2define WIN32_LEAN_AND_MEAN\n&,' $(grep -Flr "") - ) - touch "${gcc}_patched" -fi if [ "${skipGdb}" = "n" ]; then extract "${gdbArchive}" fi