Skip to content

Commit

Permalink
imx-sc-firmware: Remove -fcanon-prefix-map
Browse files Browse the repository at this point in the history
Its not supported by gcc < 13 and this package uses a prebuilt toolchain
based on gcc 8

Fixes
| arm-none-eabi-gcc: error: unrecognized command line option '-fcanon-prefix-map'; did you mean '-fmacro-prefix-map='?

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Oct 27, 2023
1 parent f864f24 commit ab8e9d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"

LDFLAGS:remove = "-fuse-ld=lld"

DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"

COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)"

0 comments on commit ab8e9d7

Please sign in to comment.