diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-01 11:26:25 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-06 15:23:18 +0000 |
commit | 59929b836fe09012f727f48be392ff540efb5afb (patch) | |
tree | 1d321dc6b3f6b88d2d8f6793fe7ba88f1d75eab8 /meta/recipes-devtools | |
parent | 145f3d27024791081f239e8b366d0e68eb836f43 (diff) | |
download | poky-59929b836fe09012f727f48be392ff540efb5afb.tar.gz |
pseudo: Disable LFS on 32bit arches
pseudo overrides certain libc functions which are aliases when LFS64 is
enabled. In anycase pseudo may not be of much use on 32bit systems
(From OE-Core rev: 9e5ec22183a8b0f16817fd3dd2e3b45b292a3a09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_git.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index c34580b4ff..8bb8993439 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb | |||
@@ -17,5 +17,12 @@ SRCREV = "c9670c27ff67ab899007ce749254b16091577e55" | |||
17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
18 | PV = "1.9.0+git${SRCPV}" | 18 | PV = "1.9.0+git${SRCPV}" |
19 | 19 | ||
20 | # largefile and 64bit time_t support adds these macros via compiler flags globally | ||
21 | # remove them for pseudo since pseudo intercepts some of the functions which will be | ||
22 | # aliased due to this e.g. open/open64 and it will complain about duplicate definitions | ||
23 | # pseudo on 32bit systems is not much of use anyway and these features are not of much | ||
24 | # use for it. | ||
25 | TARGET_CPPFLAGS:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | ||
26 | |||
20 | # error: use of undeclared identifier '_STAT_VER' | 27 | # error: use of undeclared identifier '_STAT_VER' |
21 | COMPATIBLE_HOST:libc-musl = 'null' | 28 | COMPATIBLE_HOST:libc-musl = 'null' |