Skip to content

Commit 2df5a59

Browse files
authored
Update env.sh
1 parent b02401a commit 2df5a59

File tree

1 file changed

+2
-2
lines changed
  • scram-tools.file/tools/gcc

1 file changed

+2
-2
lines changed

scram-tools.file/tools/gcc/env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ GCC_CXXFLAGS="$GCC_CXXFLAGS -Xassembler --compress-debug-sections"
4343
#FIXME: GCC 12.2 workaround
4444
if [[ "$GCC_VERSION" =~ ^12\.[23]\. ]] ; then
4545
GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds"
46-
elif [[ "$GCC_VERSION" =~ ^13\.[3]\. ]] ; then
46+
elif [[ "$GCC_VERSION" =~ ^13\. ]] ; then
4747
GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds"
48-
elif [[ "$GCC_VERSION" =~ ^14\.[2]\. ]] ; then
48+
elif [[ "$GCC_VERSION" =~ ^14\. ]] ; then
4949
GCC_CXXFLAGS="$GCC_CXXFLAGS -Wno-error=array-bounds -Warray-bounds"
5050
fi
5151

0 commit comments

Comments
 (0)