From 4e0495208f843a286dc0d06d9abdc3433a66983a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 03 2022 22:20:46 +0000 Subject: import clang-14.0.0-2.module+el8.7.0+15526+a48f7e8c --- diff --git a/SPECS/clang.spec b/SPECS/clang.spec index f7993d8..7f5dd87 100644 --- a/SPECS/clang.spec +++ b/SPECS/clang.spec @@ -41,7 +41,7 @@ Name: %pkg_name Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -168,7 +168,7 @@ libomp-devel to enable -fopenmp. Summary: Runtime library for clang Requires: %{name}-resource-filesystem%{?_isa} = %{version} # RHEL specific: Use libstdc++ from gcc12 by default. rhbz#2064507 -Requires: gcc-toolset-11-gcc-c++ +Requires: gcc-toolset-12-gcc-c++ Recommends: compiler-rt%{?_isa} = %{version} # libomp-devel is required, so clang can find the omp.h header when compiling # with -fopenmp. @@ -381,7 +381,8 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized" %ifarch %{arm} -DCLANG_DEFAULT_LINKER=lld \ %endif - -DCLANG_DEFAULT_UNWINDLIB=libgcc + -DCLANG_DEFAULT_UNWINDLIB=libgcc \ + -DGCC_INSTALL_PREFIX=/opt/rh/gcc-toolset-12/root/usr %cmake_build @@ -612,6 +613,10 @@ false %endif %changelog +* Wed Jun 01 2022 Timm Bäder - 14.0.0-2 +- Increate gcc-toolset dependency to 12 +- Set GCC_INSTALL_PREFIX variable + * Thu Apr 07 2022 Timm Bäder - 14.0.0-1 - Update to 14.0.0