]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 2514: gcc 4.6.3 does not need -fno-optimize-sibling-calls any more
authorDavid Kastrup <dak@gnu.org>
Sat, 5 May 2012 08:05:35 +0000 (10:05 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 9 May 2012 05:22:34 +0000 (07:22 +0200)
This restricts the fix for issue 1997 to versions 4.6.0 to 4.6.2, since
the bug has been fixed in 4.6.3 and 4.7.0.

stepmake/aclocal.m4

index 42c65a58cd6d4b075f999dc17ce6fd6935d6e4b1..b42851e57d32ba495b9ee823ada3a6358e27e553 100644 (file)
@@ -289,7 +289,7 @@ AC_DEFUN(STEPMAKE_CXXTEMPLATE, [
 AC_DEFUN(STEPMAKE_GXXCODEGENBUG, [
     AC_MSG_CHECKING([options for known g++ bugs])
     case "$GXX:$CXX_VERSION" in
-       yes:400600?)
+       yes:400600[[0-2]])
            AC_MSG_RESULT([-fno-optimize-sibling-calls (tail call bug)])
            CXXFLAGS="$CXXFLAGS -fno-optimize-sibling-calls"
            ;;