diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-05-20 23:19:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-22 14:36:49 +0100 |
commit | 2dfdcf7891b4af80fe53b1d85c3c625a690e25b0 (patch) | |
tree | 37f672bb5fb49db4a22ea1f6cb6da804374fe6ac | |
parent | 768cde81b1cc9a2b2f9c7ab91a3367fd7cedacfd (diff) | |
download | poky-2dfdcf7891b4af80fe53b1d85c3c625a690e25b0.tar.gz |
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
(From OE-Core rev: 89d2401ab0484478aa582fbdda21fd1d287605c4)
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>
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_4.20.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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" | |||
62 | 62 | ||
63 | BBCLASSEXTEND = "native nativesdk" | 63 | BBCLASSEXTEND = "native nativesdk" |
64 | 64 | ||
65 | # Clang results in a reproducibility issue | ||
66 | # https://github.com/llvm/llvm-project/issues/82541 | ||
67 | TOOLCHAIN = "gcc" | ||
68 | |||
65 | PACKAGECONFIG ??= "archive" | 69 | PACKAGECONFIG ??= "archive" |
66 | 70 | ||
67 | PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF" | 71 | PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF" |