]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
pseudo: Remove 64bit time_t flags
authorKhem Raj <raj.khem@gmail.com>
Thu, 15 Dec 2022 08:45:37 +0000 (00:45 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Dec 2022 10:16:25 +0000 (10:16 +0000)
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

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>
meta/recipes-devtools/pseudo/pseudo_git.bb

index 8bb89934394ebe28999c18438f2fbcc1ff64a81f..1a708066f731e82eca3c68e40786af48be6af187 100644 (file)
@@ -22,7 +22,7 @@ PV = "1.9.0+git${SRCPV}"
 # aliased due to this e.g. open/open64 and it will complain about duplicate definitions
 # pseudo on 32bit systems is not much of use anyway and these features are not of much
 # use for it.
-TARGET_CPPFLAGS:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
 
 # error: use of undeclared identifier '_STAT_VER'
 COMPATIBLE_HOST:libc-musl = 'null'