From dc9058365ee8265e52b7d5199b77543a051c8bba Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Wed, 7 Aug 2024 16:36:29 +0000 Subject: [PATCH] smex/CMakeLists.txt: drop bogus, non-portable -Wl,-EL binutils option This option was added by initial commit 36929ae1b7c6 ("smex: Create new tool to build ldc file") without any justification. It has been causing countless portability issues, see previous commit for examples. It makes even less sense for a build-time utility. Get rid of it. Signed-off-by: Marc Herbert --- smex/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smex/CMakeLists.txt b/smex/CMakeLists.txt index 23eeb3a77..d5a9824e2 100644 --- a/smex/CMakeLists.txt +++ b/smex/CMakeLists.txt @@ -23,7 +23,7 @@ target_compile_options(smex PRIVATE ) target_link_options(smex PRIVATE - -Wall -Werror -Wl,-EL + -Wall -Werror ) target_include_directories(smex PRIVATE @@ -36,4 +36,4 @@ if (NOT CONFIG_SOF_ZEPHYR_STRICT_HEADERS) target_include_directories(smex PRIVATE "${SOF_ROOT_SOURCE_DIRECTORY}/xtos/include" ) -endif() \ No newline at end of file +endif()