]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bash: use -std=gnu17 also for native CFLAGS
authorMartin Jansa <martin.jansa@gmail.com>
Sun, 17 Aug 2025 22:58:16 +0000 (00:58 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Aug 2025 20:58:31 +0000 (13:58 -0700)
commit55c144bd17665f70cd15e36f3405f502a962f039
tree1e6ca8690f64d5335ae625ebd38420faaed77801
parentadf63fe5f76cbd0fd93ce5fa23229a388211e992
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/bash/bash_5.2.21.bb