Add support for Fedora 40

This commit is contained in:
Miloš Prchlík 2024-04-09 08:44:53 +02:00
commit f1137fbe40
2 changed files with 18 additions and 8 deletions

View file

@ -419,6 +419,22 @@ adjust+:
BINUTILS_PACKAGE: binutils
GCC_PACKAGE: gcc
# Fedora-40 / no collection
- when: distro == fedora-40 and collection is not defined
require+:
- binutils
- binutils-devel
- binutils-gold
- binutils-gprofng
- gcc
- gcc-c++
- annobin-plugin-gcc
environment+:
PACKAGES: binutils
_REQUIRES: gcc gcc-c++ glibc annobin-plugin-gcc
BINUTILS_PACKAGE: binutils
GCC_PACKAGE: gcc
# Fedora-39 / no collection
- when: distro == fedora-39 and collection is not defined
require+:

View file

@ -74,14 +74,8 @@ adjust+:
environment+:
MAY_BUILD_OTHER_ARCHES: "no"
- because: "On Fedora 39 and newer, system binutils build extra binaries for cross compilation"
when: distro == fedora-39
test: "$WITH_SCL ./test-with-cross.sh"
environment+:
MAY_BUILD_OTHER_ARCHES: "no"
- because: "On Fedora 38 and newer, system binutils build extra binaries for cross compilation"
when: distro == fedora-38
- because: "On Fedora 40 and newer, system binutils build extra binaries for cross compilation"
when: distro >= fedora-38
test: "$WITH_SCL ./test-with-cross.sh"
environment+:
MAY_BUILD_OTHER_ARCHES: "no"