From b263a90fe9e8faa1212da000188a77efe33aeaf4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 15 Mar 2020 22:20:51 -0700 Subject: recipes: Do not Add -Wno-error=unused-command-line-argument globally This option can turn Valid options into warnings and cause unintended behaviour Signed-off-by: Khem Raj --- conf/nonclangable.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'conf/nonclangable.conf') diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 20dc2ab..7ceb4a4 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -225,11 +225,10 @@ CPPFLAGS_append_pn-memcached_toolchain-clang = " -Wno-error=embedded-directive" #| clang-7: error: assembler command failed with exit code 1 (use -v to see invocation) TUNE_CCARGS_remove_pn-upm_toolchain-clang = "-no-integrated-as" TUNE_CCARGS_remove_pn-omxplayer_toolchain-clang = "-no-integrated-as" -TUNE_CCARGS_remove_pn-nfs-utils_toolchain-clang = "-Wno-error=unused-command-line-argument -Qunused-arguments" -TUNE_CCARGS_append_pn-nfs-utils_toolchain-clang = " -Werror=unknown-warning-option" +TUNE_CCARGS_remove_pn-nfs-utils_toolchain-clang = "-Qunused-arguments" # We want to error out when -msse option is used otherwise it enables sse on non-x86 arches -TUNE_CCARGS_remove_pn-pipewire_toolchain-clang = "-Wno-error=unused-command-line-argument -Qunused-arguments" +TUNE_CCARGS_remove_pn-pipewire_toolchain-clang = "-Qunused-arguments" #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) -- cgit v1.2.3-54-g00ecf