Skip to content

Commit

Permalink
Fix MinGW build of GDB by using proper argument for gmp
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieChopin committed Apr 8, 2024
1 parent 886ee8f commit 8ac2050
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).

Expand Down
4 changes: 2 additions & 2 deletions build-bleeding-edge-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8ac2050

Please sign in to comment.