]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
rpm: Always use gcc compiler
authorKhem Raj <raj.khem@gmail.com>
Wed, 21 May 2025 06:19:59 +0000 (23:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 May 2025 13:36:18 +0000 (14:36 +0100)
clang can build it ok but the openmp directives
get emitted with full paths into binaries [1] until
thats fixed in clang/openmp stick to gcc

[1] https://github.com/llvm/llvm-project/issues/82541

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_4.20.0.bb

index 281fde1c82904caaa4c0aea94994b3ea3ac47315..bcc138dab045a25acf2ba73684d06c0a7df5aeba 100644 (file)
@@ -62,6 +62,10 @@ OECMAKE_GENERATOR = "Unix Makefiles"
 
 BBCLASSEXTEND = "native nativesdk"
 
+# Clang results in a reproducibility issue
+# https://github.com/llvm/llvm-project/issues/82541
+TOOLCHAIN = "gcc"
+
 PACKAGECONFIG ??= "archive"
 
 PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"