|
From: Petar J. <pe...@so...> - 2017-09-29 17:17:19
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=711d3a53c3d9774dfefcf43b4394e3a23289ee02 commit 711d3a53c3d9774dfefcf43b4394e3a23289ee02 Author: Petar Jovanovic <mip...@gm...> Date: Fri Sep 29 19:14:42 2017 +0200 mips64: set mips64r2 as default for 64-builds Set mips64r2 as default. Major 64-bit platforms are Rev2. This also fixes small issue when -march=octeon is in conflict with -mips64. Diff: --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2b4f958..fde97ae 100644 --- a/configure.ac +++ b/configure.ac @@ -1732,16 +1732,16 @@ CFLAGS=$safe_CFLAGS AC_SUBST(FLAG_MIPS32) -# does this compiler support -march=mips64 (mips64 default) ? -AC_MSG_CHECKING([if gcc accepts -march=mips64]) +# does this compiler support -march=mips64r2 (mips64r2 default) ? +AC_MSG_CHECKING([if gcc accepts -march=mips64r2]) safe_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -march=mips64 -Werror" +CFLAGS="$CFLAGS -march=mips64r2 -Werror" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])], [ -FLAG_MIPS64="-march=mips64" +FLAG_MIPS64="-march=mips64r2" AC_MSG_RESULT([yes]) ], [ FLAG_MIPS64="" |