Changed CFLAGS back to -O2

This commit is contained in:
Michiel Broek 2004-11-19 20:10:02 +00:00
parent 73aeb243b3
commit 29a5f8f952
3 changed files with 5 additions and 2 deletions

View File

@ -12,6 +12,9 @@ v0.71.0 27-Oct-2004
switches, these are no longer needed. switches, these are no longer needed.
Added new subdirectory mbutils. Some sources from the mbsebbs Added new subdirectory mbutils. Some sources from the mbsebbs
subdirectory are moved there. subdirectory are moved there.
Changed the CFLAGS back from -O3 to -O2 since there seem some
stablity problems and I want to rule out the possibility that
this is caused by bad gcc optimisation.
mbsebbs: mbsebbs:
In change handle the first character of the name is not In change handle the first character of the name is not

2
configure vendored
View File

@ -3018,7 +3018,7 @@ fi;
if test "$debugging" = "yes"; then if test "$debugging" = "yes"; then
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT" CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
else else
CFLAGS="-O3 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT" CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
fi fi
# Check whether --enable-optimize or --disable-optimize was given. # Check whether --enable-optimize or --disable-optimize was given.

View File

@ -75,7 +75,7 @@ AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [
if test "$debugging" = "yes"; then if test "$debugging" = "yes"; then
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT" CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
else else
CFLAGS="-O3 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT" CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
fi fi
AC_ARG_ENABLE(optimize, [ --enable-optimize Enable CPU optimize], [ optimize=$enableval ], [ optimize=no ]) AC_ARG_ENABLE(optimize, [ --enable-optimize Enable CPU optimize], [ optimize=$enableval ], [ optimize=no ])