From 149addaef6532c1f4e6b2bb9f1ad6205ce287437 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Tue, 29 Sep 2020 17:09:18 -0700 Subject: [PATCH] host: remove Wl flag as it upsets clang remove this flag as clang-12 considers it unused Signed-off-by: Curtis Malainey --- src/arch/host/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/host/CMakeLists.txt b/src/arch/host/CMakeLists.txt index 5d256701ebb0..f738d5f03eb7 100644 --- a/src/arch/host/CMakeLists.txt +++ b/src/arch/host/CMakeLists.txt @@ -5,7 +5,7 @@ target_include_directories(sof_public_headers INTERFACE ${PROJECT_SOURCE_DIR}/sr target_include_directories(sof_public_headers INTERFACE ${PROJECT_SOURCE_DIR}/src/platform/library/include) # C & ASM flags -target_compile_options(sof_options INTERFACE -g -O3 -Wall -Werror -Wl,-EL -Wmissing-prototypes +target_compile_options(sof_options INTERFACE -g -O3 -Wall -Werror -Wmissing-prototypes -Wimplicit-fallthrough -Wpointer-arith -DCONFIG_LIBRARY "-imacros${CONFIG_H_PATH}") add_subdirectory(lib)