Sun compilers don't support -O2

This commit is contained in:
Michael R Sweet 2006-07-25 19:11:31 +00:00
parent 145bc93933
commit f470dbf3c0
2 changed files with 7 additions and 7 deletions

6
configure vendored
View File

@ -3240,7 +3240,7 @@ else
CFLAGS="-Ae $CFLAGS"
if test "x$OPTIM" = x; then
OPTIM="-O2"
OPTIM="-O"
fi
OPTIM="+DAportable $OPTIM"
@ -3252,7 +3252,7 @@ else
UNIX_SVR* | SunOS*)
if test "x$OPTIM" = x; then
OPTIM="-O2"
OPTIM="-O"
fi
if test $PICFLAG = 1; then
@ -3262,7 +3262,7 @@ else
*)
if test "x$OPTIM" = x; then
OPTIM="-O2"
OPTIM="-O"
fi
;;
esac

View File

@ -3,7 +3,7 @@ dnl "$Id$"
dnl
dnl Configuration script for Mini-XML, a small XML-like file parsing library.
dnl
dnl Copyright 2003-2005 by Michael Sweet.
dnl Copyright 2003-2006 by Michael Sweet.
dnl
dnl This program is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
@ -202,7 +202,7 @@ else
CFLAGS="-Ae $CFLAGS"
if test "x$OPTIM" = x; then
OPTIM="-O2"
OPTIM="-O"
fi
OPTIM="+DAportable $OPTIM"
@ -214,7 +214,7 @@ else
UNIX_SVR* | SunOS*)
if test "x$OPTIM" = x; then
OPTIM="-O2"
OPTIM="-O"
fi
if test $PICFLAG = 1; then
@ -224,7 +224,7 @@ else
*)
if test "x$OPTIM" = x; then
OPTIM="-O2"
OPTIM="-O"
fi
;;
esac