Str #1656: changed default optimization on Cygwin/Mingw to -O3 because -O3 causes verifably and repeatably bad code.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2007-05-14 12:21:42 +00:00
parent 2df9fcb3aa
commit 62d66c6422
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,8 @@ CHANGES IN FLTK 1.1.8
- Documentation fixes (STR #1454, STR #1455, STR #1456,
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
STR #1639, STR #1645, STR #1644)
- Made -O3 the default optimization on Cygwin/Mingw since
-Os currently creates bad code (STR #1656)
- OSF/Tru64 now uses 'install-sh' instead of 'install' to
accomodate for a missing '-d' option (STR #1632)
- New option in Fluid project settings to translate all

View File

@ -615,7 +615,10 @@ case $uname in
LDFLAGS="-mwindows $LDFLAGS"
DSOFLAGS="-mwindows $DSOFLAGS"
LIBS="$LIBS -lole32 -luuid -lcomctl32 -lwsock32"
OPTIM="$OPTIM"
if test "x$with_optim" = x; then
dnl Avoid -Os optimization on Cygwin/Mingw
with_optim="-O3"
fi
if test x$enable_gl != xno; then
AC_CHECK_HEADER(GL/gl.h,