File tree Expand file tree Collapse file tree
global-packages/buildroot-2023.11.3/m4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Locally calculated after checking pgp signature
2+ sha256 63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96 m4-1.4.19.tar.xz
3+ # License files, locally calculated
4+ sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING
Original file line number Diff line number Diff line change 1+ # ###############################################################################
2+ #
3+ # m4
4+ #
5+ # ###############################################################################
6+
7+ M4_VERSION = 1.4.19
8+ M4_SOURCE = m4-$(M4_VERSION ) .tar.xz
9+ M4_SITE = $(BR2_GNU_MIRROR ) /m4
10+ M4_LICENSE = GPL-3.0+
11+ M4_LICENSE_FILES = COPYING
12+
13+ # gcc-15 defaults to -std=gnu23 which is incorrectly detected and
14+ # generates build failures in the gnulib copy included in
15+ # m4-1.4.19. We workaround this by forcing the previous gcc default
16+ # standard, which is -std=gnu17 only when host gcc is >= 15. This
17+ # workaround can be removed when m4 will be updated to a version
18+ # including a fix for gcc-15.
19+ ifeq ($(BR2_HOST_GCC_AT_LEAST_11 ) ,y)
20+ HOST_M4_CONF_ENV = CFLAGS="$(HOST_CFLAGS ) -std=gnu17"
21+ endif
22+
23+ $(eval $(host-autotools-package))
You can’t perform that action at this time.
0 commit comments