[Bug 13701] Long-standing build output gcc-version spam on Cygwin host
bugzilla at busybox.net
bugzilla at busybox.net
Sun Apr 18 11:24:30 UTC 2021
https://bugs.busybox.net/show_bug.cgi?id=13701
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Denys Vlasenko <vda.linux at googlemail.com> ---
I meant this:
--- a/scripts/gcc-version.sh
+++ b/scripts/gcc-version.sh
@@ -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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list