Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Third broken update for Centos binutils with LTO broken. Ignore all 2.30 for now.
authorAugustin Degomme <adegomme@gmail.com>
Sat, 13 Mar 2021 19:06:09 +0000 (19:06 +0000)
committerAugustin Degomme <adegomme@gmail.com>
Sat, 13 Mar 2021 19:06:09 +0000 (19:06 +0000)
tools/jenkins/build.sh

index 53ec813..b10c887 100755 (executable)
@@ -190,7 +190,7 @@ else
   MAY_DISABLE_SOURCE_CHANGE="-DCMAKE_DISABLE_SOURCE_CHANGES=ON"
 fi
 
-if [ "$os" = "CentOS" ] && [ "$(ld -v | cut -d\  -f4)" = "2.30-90.el8" ]; then
+if [ "$os" = "CentOS" ] && [ "$(ld -v | cut -d\  -f4 | cut -c1-4)" = "2.30" ]; then
   echo "Temporary disable LTO, believed to be broken on this system."
   MAY_DISABLE_LTO=-Denable_lto=OFF
 else