From f7e551e47988977c73331087c4b99178300a4a0c Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 12 Jun 2023 15:56:56 +0100 Subject: [PATCH] arm/trusted-firmware-m: remove -fcanon-prefix-map from DEBUG_PREFIX_MAP This recipe uses the binary Arm compiler, which is based on GCC 12. Remove this GCC 13-specific option until the next release. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc index d0744423..02acfb8b 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc +++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc @@ -80,6 +80,9 @@ AS[unexport] = "1" CC[unexport] = "1" LD[unexport] = "1" +# remove once arm-none-eabi-gcc updates to 13 or newer like poky +DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" + # python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the # right path until this is relocated automatically. export OPENSSL_MODULES="${STAGING_LIBDIR_NATIVE}/ossl-modules"