diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2025-05-12 14:37:54 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-05-16 08:58:06 -0700 |
| commit | d6a242831e78fae1a5cfcf8a6bdf5137a2422a28 (patch) | |
| tree | 099d839513c52d83cfbc179b7d54e19c476f8126 /scripts/runqemu-ifdown | |
| parent | 06b97d608e43ed6a6428158eb298587085c9a011 (diff) | |
| download | poky-d6a242831e78fae1a5cfcf8a6bdf5137a2422a28.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: 79dc3f42958bfefe03a8240e2a57501c38d2bd3c)
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>
(cherry picked from commit 6422e62fbc5c65a2165a72c97c880cfa9a80e957)
Signed-off-by: Peter Hurley <peter@meraki.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/runqemu-ifdown')
0 files changed, 0 insertions, 0 deletions
