mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
* fixes builds on host with gcc-15: http://errors.yoctoproject.org/Errors/Details/853016/ ../../bash-5.2.37/builtins/mkbuiltins.c:268:29: error: too many arguments to function ‘xmalloc’; expected 0, have 1 268 | error_directory = xmalloc (2 + strlen (argv[arg_index])); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (From OE-Core rev: 55c144bd17665f70cd15e36f3405f502a962f039) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
require bash.inc
|
|
|
|
# GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
|
|
file://mkbuiltins_have_stringize.patch \
|
|
file://build-tests.patch \
|
|
file://test-output.patch \
|
|
file://run-ptest \
|
|
file://run-bash-ptests \
|
|
file://fix-run-builtins.patch \
|
|
file://use_aclocal.patch \
|
|
file://0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch \
|
|
file://fix-filesubst-errexit.patch \
|
|
file://0001-fix-c99.patch \
|
|
"
|
|
|
|
SRC_URI[tarball.sha256sum] = "c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8"
|
|
|
|
DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
|
|
DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
|
|
|
|
CFLAGS += "-std=gnu17"
|
|
# mkbuiltins.c is built with native toolchain and needs gnu17 as well:
|
|
# http://errors.yoctoproject.org/Errors/Details/853016/
|
|
BUILD_CFLAGS += "-std=gnu17"
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|