All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] host-m4 build on Fedora 42 fails
@ 2025-04-18 14:14 Joseph Zikusooka
  2025-04-19 12:29 ` Julien Olivain
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Zikusooka @ 2025-04-18 14:14 UTC (permalink / raw)
  To: buildroot

Recently upgraded to Fedora 42 and since then I am unable to compile
buildroot.  Make fails at the host-m4 package.
I looked up several sources and found this:
https://lists.gnu.org/archive/html/m4-discuss/2025-02/msg00000.html

The work around on Fedora 42 was to build m4 with the environment
flags as follows:
CFLAGS='-std=gnu17' ./configure && make

I tried to patch m4.mk as follows, but the build is still failing.  Any ideas?

--- a/m4.mk     2025-04-18 17:02:01.174923317 +0300
+++ b/m4.mk     2025-04-18 17:03:29.285694673 +0300
@@ -10,4 +10,7 @@
 M4_LICENSE = GPL-3.0+
 M4_LICENSE_FILES = COPYING

+M4_CONF_ENV = CFLAGS="-std=gnu17"
+M4_MAKE_ENV = CFLAGS="-std=gnu17"
+
 $(eval $(host-autotools-package))

-- 
Joseph Zikusooka (ZIK)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-22 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-18 14:14 [Buildroot] host-m4 build on Fedora 42 fails Joseph Zikusooka
2025-04-19 12:29 ` Julien Olivain
2025-04-19 16:56   ` Joseph Zikusooka
2025-04-21 14:00     ` Julien Olivain
2025-04-21 18:21       ` Joseph Zikusooka
2025-04-21 19:02         ` Joseph Zikusooka
2025-04-22 19:01           ` Julien Olivain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.