Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gcc.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
### RPM external gcc 14.2.1
### RPM external gcc 14.3.1
## USE_COMPILER_VERSION
## INITENV +PATH LD_LIBRARY_PATH %{i}/lib64
# Use the git repository for fetching the sources. This gives us more control while developing
# a new platform so that we can compile yet to be released versions of the compiler.
# See: https://gcc.gnu.org/viewcvs/gcc/branches/gcc-8-branch/?view=log

BuildRequires: gcc-prerequisites
%define gccTag a0550ff9f36a27a03c15d49383c6ec76fc6a8e99
%define gccTag e02b12e7248f8209ebad35d6df214d3421ed8020
%define gccBranch releases/gcc-14

%define moduleName %{n}-%{realversion}
Expand Down
6 changes: 3 additions & 3 deletions scram-tools.file/tools/gcc/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility-inlines-hidden"
GCC_CXXFLAGS="$GCC_CXXFLAGS -fno-math-errno --param vect-max-version-for-alias-checks=50"
GCC_CXXFLAGS="$GCC_CXXFLAGS -Xassembler --compress-debug-sections"

#FIXME: GCC 12.2 workaround
#FIXME: GCC 12/13/14 workaround
if [[ "$GCC_VERSION" =~ ^12\.[23]\. ]] ; then
GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds"
elif [[ "$GCC_VERSION" =~ ^13\.[3]\. ]] ; then
elif [[ "$GCC_VERSION" =~ ^13\. ]] ; then
GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds"
elif [[ "$GCC_VERSION" =~ ^14\.[2]\. ]] ; then
elif [[ "$GCC_VERSION" =~ ^14\. ]] ; then
GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds"
fi

Expand Down