Skip to content

Commit

Permalink
host: remove Wl flag as it upsets clang
Browse files Browse the repository at this point in the history
remove this flag as clang-12 considers it unused

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
  • Loading branch information
cujomalainey authored and lgirdwood committed Oct 20, 2020
1 parent 06cfb29 commit 149adda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/host/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 149adda

Please sign in to comment.