mirror of https://github.com/thesofproject/sof.git
Tools: tplg_parser: Remove -Wl,-EL to avoid build fail with xt-clang
The linker option to indicate little-endian is not needed. It causes build fail: clang-10: errorclang-10: : -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] clang-10: error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] clang-10: clang-10error: : error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] gmake[5]: *** [CMakeFiles/sof_tplg_parser.dir/build.make:90: CMakeFiles/sof_tplg_parser.dir/process.c.o] Error 1 Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
3f2096c6b9
commit
bb5d82b1fe
|
@ -64,7 +64,7 @@ endif()
|
|||
|
||||
# TODO: add IPC4 option when it's ready.
|
||||
target_compile_options(sof_tplg_parser PRIVATE
|
||||
-g -O -Wall -Werror -Wl,-EL -fPIC -DPIC
|
||||
-g -O -Wall -Werror -fPIC -DPIC
|
||||
-Wmissing-prototypes ${implicit_fallthrough}
|
||||
-DCONFIG_LIBRARY -D${tplg_ipc})
|
||||
|
||||
|
|
Loading…
Reference in New Issue