X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/699367e8595a535b492034b4114531fd4e1dc84e..fc3ef5bd2ac94edcf603cc05f2fdd2497ef1027f:/tools/jenkins/build.sh diff --git a/tools/jenkins/build.sh b/tools/jenkins/build.sh index 53ec8134fe..b10c887a21 100755 --- a/tools/jenkins/build.sh +++ b/tools/jenkins/build.sh @@ -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