From: Khem Raj Date: Wed, 21 May 2025 06:19:59 +0000 (-0700) Subject: rpm: Always use gcc compiler X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d2401ab0484478aa582fbdda21fd1d287605c4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rpm: Always use gcc compiler 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.0.bb index 281fde1c82..bcc138dab0 100644 --- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb +++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb @@ -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"