From 2b9cdeb60d001ddcd034819384ea36b6b10f7208 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 19 Oct 2020 20:54:57 -0700 Subject: 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 --- conf/nonclangable.conf | 1 + 1 file changed, 1 insertion(+) 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" # 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 = "-Qunused-arguments" +TUNE_CCARGS_remove_pn-tesseract_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