diff --git a/gnu-compilers-hpc.changes b/gnu-compilers-hpc.changes index fbdb42d..7ced4c3 100644 --- a/gnu-compilers-hpc.changes +++ b/gnu-compilers-hpc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 23 06:52:49 UTC 2021 - Egbert Eich + +- Add build support for gcc11 to HPC build (jsc#SLE-18780, + jsc#SLE-18781, jsc#SLE-18782). + ------------------------------------------------------------------- Thu Jul 23 16:13:13 UTC 2020 - Egbert Eich diff --git a/gnu-compilers-hpc.spec b/gnu-compilers-hpc.spec index 5918708..a409201 100644 --- a/gnu-compilers-hpc.spec +++ b/gnu-compilers-hpc.spec @@ -1,7 +1,7 @@ # # spec file for package gnu # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,6 +51,10 @@ ExclusiveArch: do_not_build %define c_f_ver 10 %endif +%if "%flavor" == "gnu11-hpc" +%define c_f_ver 11 +%endif + # Keep in sync with macros.hpc-gnu # ab >= 40 - version: a.b to accompodate for old gcc version scheme of gcc < 5 %global hpc_gnu_bin_version %{?c_f_ver:-%(v=%c_f_ver; [ $v -lt 40 ] && echo $v ||