diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-11-08 15:53:25 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-11-15 06:05:32 -0800 |
| commit | 6dd57602e1997d1110b48650edb1adc5578eb8f1 (patch) | |
| tree | 8baab4d222c0839ac2f9c0737be16236ad139f31 | |
| parent | 2f7e02318064119e7c6e25e49f76401eae11952a (diff) | |
| download | poky-6dd57602e1997d1110b48650edb1adc5578eb8f1.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: 215367b62ac1f48ba224e56e7b8862c0a7bdbcd0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -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 6b0cb598e2..00af809689 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb | |||
| @@ -18,5 +18,12 @@ SRCREV = "cc1f6167cb5065daba1462056e2dce8ff72aa855" | |||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 19 | PV = "1.9.0+git${SRCPV}" | 19 | PV = "1.9.0+git${SRCPV}" |
| 20 | 20 | ||
| 21 | # largefile and 64bit time_t support adds these macros via compiler flags globally | ||
| 22 | # remove them for pseudo since pseudo intercepts some of the functions which will be | ||
| 23 | # aliased due to this e.g. open/open64 and it will complain about duplicate definitions | ||
| 24 | # pseudo on 32bit systems is not much of use anyway and these features are not of much | ||
| 25 | # use for it. | ||
| 26 | TARGET_CPPFLAGS:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | ||
| 27 | |||
| 21 | # error: use of undeclared identifier '_STAT_VER' | 28 | # error: use of undeclared identifier '_STAT_VER' |
| 22 | COMPATIBLE_HOST:libc-musl = 'null' | 29 | COMPATIBLE_HOST:libc-musl = 'null' |
