Commit 848b6d88 authored by Monty's avatar Monty

Remove the ancient -mv8 flag from SPARC gcc builds

Trac #1459


svn path=/trunk/ogg/; revision=17567
parent 8bcc597b
......@@ -50,18 +50,9 @@ else
PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
;;
sparc-sun-*)
sparc_cpu=""
AC_MSG_CHECKING([if gcc supports -mv8])
old_cflags="$CFLAGS"
CFLAGS="$CFLAGS -mv8"
AC_TRY_COMPILE(, [return 0;], [
AC_MSG_RESULT([yes])
sparc_cpu="-mv8"
])
CFLAGS="$old_cflags"
DEBUG="-g -Wall -fsigned-char $sparc_cpu"
CFLAGS="-O20 -ffast-math -fsigned-char $sparc_cpu"
PROFILE="-pg -g -O20 -fsigned-char $sparc_cpu"
DEBUG="-g -Wall -fsigned-char"
CFLAGS="-O20 -ffast-math -fsigned-char"
PROFILE="-pg -g -O20 -fsigned-char"
;;
*-*-darwin*)
DEBUG="-fno-common -g -Wall -fsigned-char"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment