]> 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>
Mon, 18 Aug 2025 14:39:23 +0000 (16:39 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 20 Aug 2025 20:27:57 +0000 (13:27 -0700)
commit0c09f4a449fc03e6f5dfb6e5961c0a0471a7816d
tree900db9378f428e992fc783eba4d375e65f4aebd9
parent092ee1703d81b8aaed452189dd329320483087d3
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.37.bb