Files
poky/meta/recipes-multimedia
Ross Burton 917d6652fc lame: don't use -march=native when building with clang
Because of a logic error, lame's configure always passes -march=native
when building with clang.

This is a terrible idea in general as it's not often your build machine
and target hardware aligns, and leads to some amusing errors:

  unknown target CPU 'neoverse-n1'
  note: valid target CPU values are: i386, i486, ...

Move the HAVE_CLANG block up into the FULL_OPTIMIZATION case, alongside
HAVE_GCC.  This option is never enabled (as it's basically "use native")
so resolves the build failure.

(From OE-Core rev: d6f0e26ccf19872e1f4eebb346d76c7bff87ba2a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
..
2025-06-20 12:07:27 +01:00
2025-09-15 17:57:23 +01:00
2025-04-01 12:01:30 +01:00
2025-07-07 22:12:50 +01:00
2025-09-15 17:57:23 +01:00
2025-09-11 11:31:55 +01:00
2025-05-27 09:01:16 +01:00
2024-01-07 12:24:57 +00:00
2025-07-17 10:41:18 +01:00
2025-06-20 12:07:27 +01:00