mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
Fixes http://autobuild.buildroot.net/results/2058934e442c0b3f3d0bd81bd7ed080c2eaade31/ The source code uses empty argument function pointer prototypes, which changed behaviour in C23 (default in gcc-15): https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters Causing build issues. Fix it by forcing gnu99 mode instead. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
18 lines
684 B
Makefile
18 lines
684 B
Makefile
################################################################################
|
|
#
|
|
# brcm-patchram-plus
|
|
#
|
|
################################################################################
|
|
|
|
BRCM_PATCHRAM_PLUS_VERSION = 15bd6638dd6d3a37d22dbc18059f6d9eb885f057
|
|
BRCM_PATCHRAM_PLUS_SITE = $(call github,AsteroidOS,brcm-patchram-plus,$(BRCM_PATCHRAM_PLUS_VERSION))
|
|
BRCM_PATCHRAM_PLUS_LICENSE = Apache-2.0
|
|
BRCM_PATCHRAM_PLUS_LICENSE_FILES = COPYING
|
|
BRCM_PATCHRAM_PLUS_AUTORECONF = YES
|
|
|
|
# C23 changes meaning of empty argument prototypes like int (*)()
|
|
# causing build failures, so force gnu99
|
|
BRCM_PATCHRAM_PLUS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
$(eval $(autotools-package))
|