Author: matt
Date: 2009-09-06 11:07:49 -0700 (Sun, 06 Sep 2009)
New Revision: 6848
Log:
Temporarily limited builds to 32-bit on OX S to stay compatible to Snow Leopard
Modified:
branches/branch-1.1/CHANGES
branches/branch-1.1/configure.in
Modified: branches/branch-1.1/CHANGES
===================================================================
--- branches/branch-1.1/CHANGES 2009-08-30 21:15:43 UTC (rev 6847)
+++ branches/branch-1.1/CHANGES 2009-09-06 18:07:49 UTC (rev 6848)
@@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.10
+ - 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)
Modified: branches/branch-1.1/configure.in
===================================================================
--- branches/branch-1.1/configure.in 2009-08-30 21:15:43 UTC (rev 6847)
+++ branches/branch-1.1/configure.in 2009-09-06 18:07:49 UTC (rev 6848)
@@ -83,6 +83,16 @@
DSOFLAGS="$DSOFLAGS -mno-cygwin"
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'll need.
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit