summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-10 23:29:02 -0700
committerKhem Raj <raj.khem@gmail.com>2023-05-11 08:33:54 -0700
commitb6b81190717f9381eb87188351a6ea90e38b7588 (patch)
tree3ed4663c8c76196c3f461942214232971333d10c /conf/nonclangable.conf
parent33cacf181b776a8dcda1c5e7e908bf66b0690e02 (diff)
downloadmeta-clang-b6b81190717f9381eb87188351a6ea90e38b7588.tar.gz
btrfs-tools: Error out on x86 options on non-x86 arches
e.g. -msha will otherwise be deemed available when using clang which is not correct, therefore treat unused-command-line-argument as error which will be flagged on non-x86 arches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf/nonclangable.conf')
-rw-r--r--conf/nonclangable.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 5f3d7f9..2c83f1a 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -261,6 +261,8 @@ TUNE_CCARGS:remove:pn-nfs-utils:toolchain-clang = "-Qunused-arguments"
261TUNE_CCARGS:remove:pn-pipewire:toolchain-clang = "-Qunused-arguments" 261TUNE_CCARGS:remove:pn-pipewire:toolchain-clang = "-Qunused-arguments"
262TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" 262TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments"
263TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" 263TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments"
264TUNE_CCARGS:remove:pn-btrfs-tools:toolchain-clang = "-Qunused-arguments"
265TUNE_CCARGS:append:pn-btrfs-tools:toolchain-clang = " -Werror=unused-command-line-argument"
264 266
265# Disable altivec on ppc32 267# Disable altivec on ppc32
266#/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? 268#/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?