From 8ac2050b327307368538566089a50c8ec91c9500 Mon Sep 17 00:00:00 2001 From: Freddie Chopin Date: Mon, 8 Apr 2024 16:42:40 +0200 Subject: [PATCH] Fix MinGW build of GDB by using proper argument for gmp --- CHANGELOG.md | 2 +- build-bleeding-edge-toolchain.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c662f2c..eb52355 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ All notable changes to this project will be documented in this file. - Fixed documentation generation for newlib. - New versions of GDB finally use Python 3 for Windows, so fix the build by using packaged Python from NuGet. -- Fixed build of GDB by using proper argument for mpfr. +- Fixed build of GDB by using proper arguments for gmp and mpfr. - Fixed Windows build of GCC with recent MinGW toolchains ([upstream patch](https://gcc.gnu.org/pipermail/gcc-patches/2023-January/609514.html)). diff --git a/build-bleeding-edge-toolchain.sh b/build-bleeding-edge-toolchain.sh index f292086..1f1f5eb 100755 --- a/build-bleeding-edge-toolchain.sh +++ b/build-bleeding-edge-toolchain.sh @@ -1069,7 +1069,7 @@ buildMingw() { --with-python=\"${top}/${buildFolder}/python.sh\" \ --program-prefix=\"${target}-\" \ --program-suffix=-py \ - --with-libgmp-prefix=\"${top}/${buildFolder}/${prerequisites}/${gmp}\" \ + --with-gmp=\"${top}/${buildFolder}/${prerequisites}/${gmp}\" \ --with-libiconv-prefix=\"${top}/${buildFolder}/${prerequisites}/${libiconv}\"" \ "" if [ "${keepBuildFolders}" = "y" ]; then @@ -1082,7 +1082,7 @@ buildMingw() { "${bannerPrefix}" \ "--build=\"${hostTriplet}\" --host=\"${triplet}\" \ --with-python=no \ - --with-libgmp-prefix=\"${top}/${buildFolder}/${prerequisites}/${gmp}\" \ + --with-gmp=\"${top}/${buildFolder}/${prerequisites}/${gmp}\" \ --with-libiconv-prefix=\"${top}/${buildFolder}/${prerequisites}/${libiconv}\"" \ "" fi