diff mbox series

[v2,3/5] external-arm-toolchain: ignore warnings about 32-bit time types

Message ID 20240429163859.507226-3-ross.burton@arm.com
State New
Headers show
Series [v2,1/5] CI: add Kas schema comments | expand

Commit Message

Ross Burton April 29, 2024, 4:38 p.m. UTC
Functions that take 32-bit time_t types are unavoidable in the libc, so
ignore the warnings.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../external-arm-toolchain/external-arm-toolchain.bb             | 1 +
 1 file changed, 1 insertion(+)

Comments

Denys Dmytriyenko April 29, 2024, 5:07 p.m. UTC | #1
On Mon, Apr 29, 2024 at 04:38:57PM +0000, Ross Burton wrote:
> Functions that take 32-bit time_t types are unavoidable in the libc, so
> ignore the warnings.
> 
> Signed-off-by: Ross Burton <ross.burton@arm.com>

Reviewed-by: Denys Dmytriyenko <denis@denix.org>


> ---
>  .../external-arm-toolchain/external-arm-toolchain.bb             | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> index fab17611..49ad7442 100644
> --- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> +++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
> @@ -316,6 +316,7 @@ PACKAGES += "\
>  	${PN}-staticdev \
>  "
>  
> +INSANE_SKIP += " 32bit-time"
>  INSANE_SKIP:${PN}-dbg = "staticdev"
>  INSANE_SKIP:${PN}-utils += "ldflags"
>  INSANE_SKIP:libstdc++ += "ldflags"
> -- 
> 2.34.1
diff mbox series

Patch

diff --git a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
index fab17611..49ad7442 100644
--- a/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
+++ b/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
@@ -316,6 +316,7 @@  PACKAGES += "\
 	${PN}-staticdev \
 "
 
+INSANE_SKIP += " 32bit-time"
 INSANE_SKIP:${PN}-dbg = "staticdev"
 INSANE_SKIP:${PN}-utils += "ldflags"
 INSANE_SKIP:libstdc++ += "ldflags"