smex/CMakeLists.txt: drop bogus, non-portable -Wl,-EL binutils option

This option was added by initial commit 36929ae1b7 ("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 <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2024-08-07 16:36:29 +00:00 committed by Kai Vehmanen
parent ee5efdf5b9
commit dc9058365e
1 changed files with 2 additions and 2 deletions

View File

@ -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()
endif()