]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
pseudo: Fix to work with glibc 2.38
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Aug 2023 06:40:47 +0000 (07:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Aug 2023 21:19:25 +0000 (22:19 +0100)
commit596fb699d470d7779bfa694e04908929ffeabcf7
tree7918cc5af2c4182b635fb0ccd4ad3fcccb5238db
parent6dffea78a6de286de67524b558bb1527fedd673e
pseudo: Fix to work with glibc 2.38

This adds a horrible hack to get pseudo working with glibc 2.38. We can't
drop _GNU_SOURCE to something like _DEFAULT_SOURCE since we need the defines
the gnu options bring in. That leaves using internal glibc defines to disable
the c23 versions of strtol/fscanf and friends. Which would break pseudo
build with 2.38 from running on hosts with older glibc.

We'll probably need to come up with something better but this gets glibc 2.38
and working and avoids autobuilder failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/files/glibc238.patch [new file with mode: 0644]
meta/recipes-devtools/pseudo/pseudo_git.bb