diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-03-15 16:17:47 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-03-15 18:04:21 -0700 |
commit | e28d250cdde9026b21678b77a3f4f17374a4c718 (patch) | |
tree | 807eb90ef519c98195cc40a8a4fb55547a019f3a | |
parent | f017f4196041d3d72810c9a60ccae7665dc6c067 (diff) | |
download | meta-clang-e28d250cdde9026b21678b77a3f4f17374a4c718.tar.gz |
pipewire: Do no mis-detect SSE support
meson logic in pipewire uses compiler cmdline to find if SSE is
supported or not but if we use -Wno-error=unused-command-line-argument
then the error is turned into warning and tests pass even on non-x86
machines which is not correct
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 2dcb6f9..20dc2ab 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -228,6 +228,9 @@ TUNE_CCARGS_remove_pn-omxplayer_toolchain-clang = "-no-integrated-as" | |||
228 | TUNE_CCARGS_remove_pn-nfs-utils_toolchain-clang = "-Wno-error=unused-command-line-argument -Qunused-arguments" | 228 | TUNE_CCARGS_remove_pn-nfs-utils_toolchain-clang = "-Wno-error=unused-command-line-argument -Qunused-arguments" |
229 | TUNE_CCARGS_append_pn-nfs-utils_toolchain-clang = " -Werror=unknown-warning-option" | 229 | TUNE_CCARGS_append_pn-nfs-utils_toolchain-clang = " -Werror=unknown-warning-option" |
230 | 230 | ||
231 | # We want to error out when -msse option is used otherwise it enables sse on non-x86 arches | ||
232 | TUNE_CCARGS_remove_pn-pipewire_toolchain-clang = "-Wno-error=unused-command-line-argument -Qunused-arguments" | ||
233 | |||
231 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' | 234 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' |
232 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) | 235 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) |
233 | COMPILER_RT_pn-ruby_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" | 236 | COMPILER_RT_pn-ruby_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" |