summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-03 12:05:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 12:03:47 +0000
commitd535e47f3163900840ff0c69351043fd6624e03e (patch)
treed8f1580e70134b4686c8d76269684ef6def7b745 /meta/conf
parent3f833254a433c648f217184a1d2b0f2d86d2426d (diff)
downloadpoky-d535e47f3163900840ff0c69351043fd6624e03e.tar.gz
time64.inc: Add GLIBC_64BIT_TIME_FLAGS on ppc/x86 as well
Make mips expression across all 32bit mips architectures (From OE-Core rev: 18df5694796bcfee73c3765bc991bcef055466e3) 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/conf')
-rw-r--r--meta/conf/distro/include/time64.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc
index c6a3b682c2..5c53356d4f 100644
--- a/meta/conf/distro/include/time64.inc
+++ b/meta/conf/distro/include/time64.inc
@@ -1,9 +1,12 @@
1GLIBC_64BIT_TIME_FLAGS = "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" 1GLIBC_64BIT_TIME_FLAGS = "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
2 2
3# TODO: Only for 32-bit architectures? 3# Only needed for some 32-bit architectures, some relatively newer
4# architectures do not need it ( e.g. riscv32 )
4TARGET_CC_ARCH:append:arm = " ${GLIBC_64BIT_TIME_FLAGS}" 5TARGET_CC_ARCH:append:arm = " ${GLIBC_64BIT_TIME_FLAGS}"
5TARGET_CC_ARCH:append:armeb = " ${GLIBC_64BIT_TIME_FLAGS}" 6TARGET_CC_ARCH:append:armeb = " ${GLIBC_64BIT_TIME_FLAGS}"
6TARGET_CC_ARCH:append:mips32el = " ${GLIBC_64BIT_TIME_FLAGS}" 7TARGET_CC_ARCH:append:mipsarcho32 = " ${GLIBC_64BIT_TIME_FLAGS}"
8TARGET_CC_ARCH:append:powerpc = " ${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLIBC_64BIT_TIME_FLAGS}', '', d)}"
9TARGET_CC_ARCH:append:x86 = " ${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLIBC_64BIT_TIME_FLAGS}', '', d)}"
7 10
8GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" 11GLIBC_64BIT_TIME_FLAGS:pn-glibc = ""
9GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = "" 12GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = ""
@@ -23,4 +26,3 @@ INSANE_SKIP:librsvg[_usr_lib_librsvg-2.so.2.48.0] = "fcntl lstat64 setsockopt se
23# libpulsedsp.so is a preload-library that hooks libc functions 26# libpulsedsp.so is a preload-library that hooks libc functions
24INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl" 27INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl"
25 28
26