diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-06-06 14:01:26 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-07 21:21:55 +0100 |
| commit | b2b24de709c42ebd7ae116d2e3361a5709fa8f77 (patch) | |
| tree | 2ad080f8b4818ccc5b7b5b6ab77d7c797723c1d2 /meta/recipes-devtools/python/python-async.inc | |
| parent | 6b9af87f3eb86faf80fe14f993ca90fc7464bfcb (diff) | |
| download | poky-b2b24de709c42ebd7ae116d2e3361a5709fa8f77.tar.gz | |
perl: enable _GNU_SOURCE define via d_gnulibc
This is needed to properly support memmem() and friends under musl
as musl guards the declarations with _GNU_SOURCE define, and if the
declarations are not present, gcc will issue warnings and generate
assembly that assumes the functions return int (instead of e.g.
void*), with catastrophic consequences at runtime.
(From OE-Core rev: 6422e62fbc5c65a2165a72c97c880cfa9a80e957)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-async.inc')
0 files changed, 0 insertions, 0 deletions
