mirror of https://github.com/thesofproject/sof.git
cmake: drop binutils-specific '-Wl,-EL' option
Fixes clang failure: clang: error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] -EL has an effect only when using OUTPUT_FORMAT or --oformat but rimage uses neither. The binaries produced by ld version 2.34 are strictly identical before and after this removal. It is not clear why -EL was ever added. It was added to src/Makefile.am by commit0d33e87433
and to src/CMakeLists.txt by commit4e3ead0096
but these commits were initial additions of the entire files and they did not get into detail. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
ecb921227e
commit
bcbcec79e5
|
@ -25,7 +25,7 @@ add_executable(rimage
|
|||
)
|
||||
|
||||
target_compile_options(rimage PRIVATE
|
||||
-Wall -Werror -Wl,-EL -Wmissing-prototypes -Wimplicit-fallthrough
|
||||
-Wall -Werror -Wmissing-prototypes -Wimplicit-fallthrough
|
||||
)
|
||||
|
||||
target_link_libraries(rimage PRIVATE "-lcrypto")
|
||||
|
|
Loading…
Reference in New Issue