diff --git a/mold.spec b/mold.spec index d431e9f..3b669b7 100644 --- a/mold.spec +++ b/mold.spec @@ -25,7 +25,7 @@ ExcludeArch: %{mips} BuildRequires: cmake %if 0%{?el8} -BuildRequires: gcc-toolset-10-toolchain +BuildRequires: gcc-toolset-12 %else BuildRequires: gcc BuildRequires: gcc-c++ >= 10 @@ -71,7 +71,7 @@ rm -r third-party/{mimalloc,xxhash,zlib,zstd} %build %if 0%{?el8} -. /opt/rh/gcc-toolset-10/enable +. /opt/rh/gcc-toolset-12/enable %endif %cmake -DMOLD_USE_SYSTEM_MIMALLOC=ON %cmake_build @@ -91,7 +91,7 @@ fi %check %if 0%{?el8} -. /opt/rh/gcc-toolset-10/enable +. /opt/rh/gcc-toolset-12/enable %endif %ctest @@ -111,6 +111,7 @@ fi - Bump version to 1.7.0 - Drop upstreamed patches - Move from `ExclusiveArch` to `ExcludeArch` as only MIPS remains unsupported +- Build with GCC 12 on el8 * Sat Oct 22 2022 Christoph Erhardt - 1.6.0-1 - Bump version to 1.6.0