mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Fixes: https://autobuild.buildroot.net/results/554/5545162ca0206cacfca1617280f074237e72aec1/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
22 lines
776 B
Makefile
22 lines
776 B
Makefile
################################################################################
|
|
#
|
|
# pdmenu
|
|
#
|
|
################################################################################
|
|
|
|
PDMENU_VERSION = 1.3.6
|
|
PDMENU_SITE = https://git.joeyh.name/index.cgi/pdmenu.git/snapshot
|
|
PDMENU_LICENSE = GPL-2.0
|
|
PDMENU_LICENSE_FILES = doc/COPYING
|
|
PDMENU_DEPENDENCIES = slang $(TARGET_NLS_DEPENDENCIES)
|
|
PDMENU_INSTALL_TARGET_OPTS = INSTALL_PREFIX=$(TARGET_DIR) install
|
|
|
|
# gcc-15 defaults to -std=gnu23 which introduces build failures.
|
|
# We force "-std=gnu17" for gcc version supporting it. Earlier gcc
|
|
# versions will work, since they are using the older standard.
|
|
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y)
|
|
PDMENU_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu17"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|