From f470dbf3c0536cf91cccc5e83f769b7cd61a2a86 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 25 Jul 2006 19:11:31 +0000 Subject: [PATCH] Sun compilers don't support -O2 --- configure | 6 +++--- configure.in | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 34197b7..dd94966 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 481653f..da3faf1 100644 --- a/configure.in +++ b/configure.in @@ -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