mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-19 03:19:07 -07:00
autoconf-2.73 has started to automagically add C23 to AC_PROG_CC, which broke a previous workaround for the build system passing CFLAGS to the C++ compiler. Undo that fix and inject -std=gnu17/gnu++17 into econf and explicitly also into emake. This fixes both the problem of autoconf rewriting CC and the CFLAGS/C++ confusion. While here move to EAPI-9, add a fix for a reported pillow test failure due to slight image distortion, a fix for gcc-14 also affected by autoconf-2.73, and additional stdint.h sprinkles which for some reason are now necessary. There is a remaining issue that autoconf-2.73 helpfully adds -std=c++17 despite the fact that we pass in -std=gnu++17, but this seems benign. Closes: https://bugs.gentoo.org/964040 Closes: https://bugs.gentoo.org/971915 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/495 Merges: https://codeberg.org/gentoo/gentoo/pulls/495 Signed-off-by: Sam James <sam@gentoo.org>
3.9 KiB
3.9 KiB