diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-03 12:05:51 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:47 +0000 |
commit | d535e47f3163900840ff0c69351043fd6624e03e (patch) | |
tree | d8f1580e70134b4686c8d76269684ef6def7b745 /meta/conf | |
parent | 3f833254a433c648f217184a1d2b0f2d86d2426d (diff) | |
download | poky-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.inc | 8 |
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 @@ | |||
1 | GLIBC_64BIT_TIME_FLAGS = "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" | 1 | GLIBC_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 ) | ||
4 | TARGET_CC_ARCH:append:arm = " ${GLIBC_64BIT_TIME_FLAGS}" | 5 | TARGET_CC_ARCH:append:arm = " ${GLIBC_64BIT_TIME_FLAGS}" |
5 | TARGET_CC_ARCH:append:armeb = " ${GLIBC_64BIT_TIME_FLAGS}" | 6 | TARGET_CC_ARCH:append:armeb = " ${GLIBC_64BIT_TIME_FLAGS}" |
6 | TARGET_CC_ARCH:append:mips32el = " ${GLIBC_64BIT_TIME_FLAGS}" | 7 | TARGET_CC_ARCH:append:mipsarcho32 = " ${GLIBC_64BIT_TIME_FLAGS}" |
8 | TARGET_CC_ARCH:append:powerpc = " ${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLIBC_64BIT_TIME_FLAGS}', '', d)}" | ||
9 | TARGET_CC_ARCH:append:x86 = " ${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLIBC_64BIT_TIME_FLAGS}', '', d)}" | ||
7 | 10 | ||
8 | GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" | 11 | GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" |
9 | GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = "" | 12 | GLIBC_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 |
24 | INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl" | 27 | INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl" |
25 | 28 | ||
26 | |||