← Commit list

d9136efd7

Denys Vlasenko
Denys Vlasenko
2021-04-18
SUCCESS Duration: 154s

Subject

gcc-version.sh: Cygwin fix

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/gcc-version.sh+1 -1
@@ -8,5 +8,5 @@
compiler="$*"
-MAJ_MIN=$(echo __GNUC__ __GNUC_MINOR__ | $compiler -E -xc - | tail -n 1)
+MAJ_MIN=$(echo __GNUC__ __GNUC_MINOR__ | $compiler -E -xc - | grep . | tail -n 1)
printf '%02d%02d\n' $MAJ_MIN