diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-08-17 20:01:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-21 11:34:12 +0100 |
commit | 3fac9a06a039313a46a2f5499602d1bb61927739 (patch) | |
tree | 371ceec62ab4b69624c596275ae1eb13a32cf2d0 /scripts/lib/wic/partition.py | |
parent | d9a71a83d308f2a2bd291323cd1fa4c3aa9fe7b9 (diff) | |
download | poky-3fac9a06a039313a46a2f5499602d1bb61927739.tar.gz |
cross-localedef-native: fix build on hosts with older glibc
Older glibc on host might be missing __glibc_has_attribute added in glibc-2.34 with:
https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=misc/sys/cdefs.h;h=8e244a77cf6271f09cbd26d18b1e07b1d1641404;hp=57ca262bdfb642bf4a945645532f2319ec1ff437;hb=c8ba52ab3350c334d6e34b1439a4c0c1431351f3;hpb=7dd416491e080456fc7742d884c520526509413e
Fixes:
In file included from ../git/localedef/include/programs/xmalloc.h:21,
from glibc/locale/programs/localedef.h:124,
from glibc/locale/programs/localedef.c:36:
../git/localedef/include/sys/cdefs.h:85:51: error: missing binary operator before token "("
85 | #if __GNUC_PREREQ (4, 3) || __glibc_has_attribute (__cold__)
| ^
Only commit included:
e0eca29 cdefs.h: define __glibc_has_attribute
(From OE-Core rev: 62c464bb4e3ebb6b50864ede7b352651b2c81e3c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/partition.py')
0 files changed, 0 insertions, 0 deletions