diff mbox series

[13/21] systemtap: Pin to build with GCC

Message ID 20250518-clang-toolchain-v1-13-5be46f8c4af5@gmail.com
State New
Headers show
Series clang: Add clang C/C++ toolchain | expand

Commit Message

Khem Raj May 18, 2025, 9:30 p.m. UTC
clang find a lot of warning
| In file included from ../git/tapset-procfs.cxx:11:
| ../git/session.h:169:47: error: 'used' attribute ignored on a non-definition declaration [-Werror,-Wignored-attributes]
|   169 |   static const char* morehelp __attribute__ ((used));
|       |                                               ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/default-toolchains.inc | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta/conf/distro/include/default-toolchains.inc b/meta/conf/distro/include/default-toolchains.inc
index 4d3cd9eb4fb92fe6d5d12a2f593092d30d196a0b..738a9696342b1d94caeb742b92f74565a5816651 100644
--- a/meta/conf/distro/include/default-toolchains.inc
+++ b/meta/conf/distro/include/default-toolchains.inc
@@ -29,5 +29,9 @@  TOOLCHAIN:pn-pulseaudio:armv7a = "gcc"
 # https://github.com/llvm/llvm-project/issues/82541
 TOOLCHAIN:pn-rpm = "gcc"
 
+# Emits lot of warning which are treated as errors
+# They must be looked into before disabling
+TOOLCHAIN:pn-systemtap = "gcc"
+
 # Clang-20 issue - https://github.com/llvm/llvm-project/issues/132322
 TOOLCHAIN:pn-webkitgtk:arm = "gcc"