summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-10-19 20:54:57 -0700
committerKhem Raj <raj.khem@gmail.com>2020-10-20 09:21:09 -0700
commit2b9cdeb60d001ddcd034819384ea36b6b10f7208 (patch)
treee6b74016b9a9d66a4e3b528a7e6383cbb4e69b4c
parenta405b2ed31e978b20326789007994a52d95527ee (diff)
downloadmeta-clang-2b9cdeb60d001ddcd034819384ea36b6b10f7208.tar.gz
tesseract: Remove -Qunused-arguments from CFLAGS
This helps configure checks for sse where clang sends out a unused option warning but because we use -Qunused-arguments, this warning is suppressed and -Werror does not notice this warning and checks succeed for no reason on architectures who dont have SSE. Therefore removing this option helps compiler to emit the warning and rightly detect that these options can not be enabled for non-x86 architectures Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 7fd98fd..20fb71b 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -237,6 +237,7 @@ TUNE_CCARGS_remove_pn-nfs-utils_toolchain-clang = "-Qunused-arguments"
237 237
238# We want to error out when -msse option is used otherwise it enables sse on non-x86 arches 238# We want to error out when -msse option is used otherwise it enables sse on non-x86 arches
239TUNE_CCARGS_remove_pn-pipewire_toolchain-clang = "-Qunused-arguments" 239TUNE_CCARGS_remove_pn-pipewire_toolchain-clang = "-Qunused-arguments"
240TUNE_CCARGS_remove_pn-tesseract_toolchain-clang = "-Qunused-arguments"
240 241
241#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' 242#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4'
242#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) 243#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation)