diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-05-10 23:29:02 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-11 08:33:54 -0700 |
commit | b6b81190717f9381eb87188351a6ea90e38b7588 (patch) | |
tree | 3ed4663c8c76196c3f461942214232971333d10c /conf/nonclangable.conf | |
parent | 33cacf181b776a8dcda1c5e7e908bf66b0690e02 (diff) | |
download | meta-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.conf | 2 |
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" | |||
261 | TUNE_CCARGS:remove:pn-pipewire:toolchain-clang = "-Qunused-arguments" | 261 | TUNE_CCARGS:remove:pn-pipewire:toolchain-clang = "-Qunused-arguments" |
262 | TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" | 262 | TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" |
263 | TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" | 263 | TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" |
264 | TUNE_CCARGS:remove:pn-btrfs-tools:toolchain-clang = "-Qunused-arguments" | ||
265 | TUNE_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'? |