File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4510,9 +4510,9 @@ if test x"$CLANG_VERSION_STRING" != x"" ; then
45104510 CLANG_VERSION=` expr $CLANG_MAJOR ' *' 1000000 ' +' $CLANG_MINOR ' *' 1000 ' +' $CLANG_REVISION `
45114511 { $as_echo " $as_me :${as_lineno-$LINENO } : result: $CLANG_VERSION " >&5
45124512$as_echo " $CLANG_VERSION " >&6 ; }
4513- { $as_echo " $as_me :${as_lineno-$LINENO } : checking if clang supports -fno-strength-reduce" >&5
4513+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking if clang supports -fno-strength-reduce" >&5
45144514$as_echo_n " checking if clang supports -fno-strength-reduce... " >&6 ; }
4515- if test " $CLANG_VERSION " -ge 500002075 ; then
4515+ if test " $CLANG_MAJOR " -ge 10 -o " $ CLANG_VERSION" -ge 500002075 ; then
45164516 { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
45174517$as_echo " no" >&6 ; }
45184518 CFLAGS=` echo " $CFLAGS " | sed -e ' s/-fno-strength-reduce/ /' `
Original file line number Diff line number Diff line change @@ -127,8 +127,9 @@ if test x"$CLANG_VERSION_STRING" != x"" ; then
127127 dnl change the constant 500002075 below appropriately. To get the
128128 dnl integer corresponding to a version number, refer to the
129129 dnl definition of CLANG_VERSION above.
130+ dnl Clang 11 reports "11", assume Clang 10 and later work like this.
130131 AC_MSG_CHECKING ( if clang supports - fno-strength-reduce )
131- if test "$CLANG_VERSION" -ge 500002075 ; then
132+ if test "$CLANG_MAJOR" -ge 10 -o "$ CLANG_VERSION" -ge 500002075 ; then
132133 AC_MSG_RESULT ( no )
133134 CFLAGS=`echo "$CFLAGS" | sed -e 's/-fno-strength-reduce/ /'`
134135 else
Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ static char *(features[]) =
750750
751751static int included_patches [] =
752752{ /* Add new patch number below this line */
753+ /**/
754+ 2431 ,
753755/**/
754756 2430 ,
755757/**/
You can’t perform that action at this time.
0 commit comments