Temporarily limited builds to 32-bit on OX S to stay compatible to Snow Leopard

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2009-09-06 18:09:24 +00:00
parent 1b2df88ed0
commit 184c1092e9
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,7 @@
CHANGES IN FLTK 1.3.0
- Temporarily limited builds to 32-bit on OX S to stay
compatible to Snow Leopard
- Fixed Windows compile bug with "#define USE_COLORMAP 0"
(STR #2241)
- Fixed glibc 2.10 compiler problems (Fedora 11 and others)

View File

@ -92,6 +92,17 @@ case $uname in
fi
fi
;;
Darwin*)
# Starting with 10.6 (Snow Leopard), OS X does not support
# Carbon calls anymore. We patch this until we are completely Cocoa compliant
# by limiting ourselves to 32 bit Intel compiles
if test `sw_vers -productVersion` = "10.6"; then
CFLAGS="$CFLAGS -arch i386"
CXXFLAGS="$CXXFLAGS -arch i386"
LDFLAGS="$LDFLAGS -arch i386"
fi
;;
esac
dnl Define the libraries and link options we will need.