]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools: gmp: fix compilation with GCC15 18506/head
authorRobert Marko <robimarko@gmail.com>
Wed, 16 Apr 2025 12:04:26 +0000 (14:04 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 17 Apr 2025 14:29:18 +0000 (16:29 +0200)
commit31800db91d43042813b7249a09fd61c356b39767
tree29553f0cc1ce0ccbf511c73b51917c27138bf825
parentf165dd2f78f7aaafa85f59f5c35264dd03e3a6ce
tools: gmp: fix compilation with GCC15

Fedora 42 updated to GCC15 which now defaults to GNU23 as the default
instead of GNU17[1], and this breaks GMP compilation by failing to find
a working compiler test.

Its been fixed upstream [2][3], so backport the fix to fix GCC15 compilation.

[1] https://gcc.gnu.org/gcc-15/porting_to.html#c23
[2] https://gmplib.org/repo/gmp/rev/8e7bb4ae7a18
[3] https://gmplib.org/repo/gmp/rev/d66d66d82dbb

Link: https://github.com/openwrt/openwrt/pull/18506
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/gmp/patches/001-acinclude-m4-fix-std23.patch [new file with mode: 0644]
tools/gmp/patches/002-acinclude-m4-add-parameter-names.patch [new file with mode: 0644]