comparison configure @ 21524:8edf162f5862

do not force arch and isysroot in osx
author nplourde
date Sat, 09 Dec 2006 00:09:45 +0000
parents fb2a55ef6401
children 283bff578e1c
comparison
equal deleted inserted replaced
21523:ca4294014917 21524:8edf162f5862
7127 _crash_debug=no 7127 _crash_debug=no
7128 fi 7128 fi
7129 echores "$_crash_debug" 7129 echores "$_crash_debug"
7130 7130
7131 if darwin ; then 7131 if darwin ; then
7132 CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc" 7132 CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc"
7133 if x86 ; then
7134 CFLAGS="$CFLAGS -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
7135 else
7136 CFLAGS="$CFLAGS -arch ppc -isysroot /Developer/SDKs/MacOSX10.3.9.sdk"
7137 fi
7138 if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then 7133 if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
7139 CFLAGS="$CFLAGS -no-cpp-precomp" 7134 CFLAGS="$CFLAGS -no-cpp-precomp"
7140 fi 7135 fi
7141 7136
7142 # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX 7137 # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX