]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
bash: use -std=gnu17 also for native CFLAGS
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 26 Apr 2025 17:08:23 +0000 (19:08 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Apr 2025 08:54:15 +0000 (09:54 +0100)
commit663a79bbf2f2e113992e457244964b7582d9caaf
treeca862cc315d8765efe1580b693d584daddb90015
parent02e282f6417274a93c6f01978bf33e2d171297b0
bash: use -std=gnu17 also for native CFLAGS

* 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]));
      |                             ^~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/bash/bash_5.2.37.bb