Fixed missing architecture flags in OS X build (STR #2303)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2010-11-15 19:51:28 +00:00
parent 39253b9a20
commit 43447f0f95
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.11
- Documentation fixes (STR #2410) - Documentation fixes (STR #2410)
- Fixed mouse wheel related crash in GLUT emulation (STR #2381) - Fixed mouse wheel related crash in GLUT emulation (STR #2381)
- Fixed missing architecture flags in OS X build (STR #2303)
CHANGES IN FLTK 1.1.10 CHANGES IN FLTK 1.1.10

View File

@ -92,8 +92,10 @@ case $uname in
d_rev=`echo $d_ver_rev | sed -e 's/[[0-9]][[0-9]]*\.//'` d_rev=`echo $d_ver_rev | sed -e 's/[[0-9]][[0-9]]*\.//'`
if test $d_ver -gt 10 -o $d_ver -eq 10 -a $d_rev -ge 6; then if test $d_ver -gt 10 -o $d_ver -eq 10 -a $d_rev -ge 6; then
CFLAGS="$CFLAGS -arch i386" CFLAGS="$CFLAGS -arch i386"
CXXFLAGS="$CPPFLAGS -arch i386"
CXXFLAGS="$CXXFLAGS -arch i386" CXXFLAGS="$CXXFLAGS -arch i386"
LDFLAGS="$LDFLAGS -arch i386" LDFLAGS="$LDFLAGS -arch i386"
DSOFLAGS="$DSOFLAGS -arch i386"
fi fi
;; ;;
esac esac