diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-15 00:45:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-21 10:16:31 +0000 |
commit | 38156e07859afe463c92b0eb03e446a76832837a (patch) | |
tree | b1f76b3b28015afd12fa72612cbbc91306b714e3 | |
parent | dd097f6934d640fc7399ff0f4d7217b192e388d4 (diff) | |
download | poky-38156e07859afe463c92b0eb03e446a76832837a.tar.gz |
pseudo: Remove 64bit time_t flags
pseudo traps syscalls and has intimate knowledge of them
and does not really depend on glibc interfaces to kernel
flags are added via TARGET_CC_ARCH therefore move the remove
operation from TARGET_CPPFLAGS to TARGET_CC_ARCH
(From OE-Core rev: e654cf03ba8f1f80ad75381f0ad666a282f6a27f)
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>
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 8bb8993439..1a708066f7 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb | |||
@@ -22,7 +22,7 @@ PV = "1.9.0+git${SRCPV}" | |||
22 | # aliased due to this e.g. open/open64 and it will complain about duplicate definitions | 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 | 23 | # pseudo on 32bit systems is not much of use anyway and these features are not of much |
24 | # use for it. | 24 | # use for it. |
25 | TARGET_CPPFLAGS:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" | 25 | TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" |
26 | 26 | ||
27 | # error: use of undeclared identifier '_STAT_VER' | 27 | # error: use of undeclared identifier '_STAT_VER' |
28 | COMPATIBLE_HOST:libc-musl = 'null' | 28 | COMPATIBLE_HOST:libc-musl = 'null' |