Changed CFLAGS back to -O2
This commit is contained in:
parent
73aeb243b3
commit
29a5f8f952
@ -12,6 +12,9 @@ v0.71.0 27-Oct-2004
|
||||
switches, these are no longer needed.
|
||||
Added new subdirectory mbutils. Some sources from the mbsebbs
|
||||
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:
|
||||
In change handle the first character of the name is not
|
||||
|
2
configure
vendored
2
configure
vendored
@ -3018,7 +3018,7 @@ fi;
|
||||
if test "$debugging" = "yes"; then
|
||||
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
|
||||
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
|
||||
|
||||
# Check whether --enable-optimize or --disable-optimize was given.
|
||||
|
@ -75,7 +75,7 @@ AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [
|
||||
if test "$debugging" = "yes"; then
|
||||
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
|
||||
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
|
||||
|
||||
AC_ARG_ENABLE(optimize, [ --enable-optimize Enable CPU optimize], [ optimize=$enableval ], [ optimize=no ])
|
||||
|
Reference in New Issue
Block a user