diff options
Diffstat (limited to 'Scripts')
-rwxr-xr-x | Scripts/build-mysql-client.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Scripts/build-mysql-client.sh b/Scripts/build-mysql-client.sh index 09e373f2..1d0464e3 100755 --- a/Scripts/build-mysql-client.sh +++ b/Scripts/build-mysql-client.sh @@ -17,8 +17,8 @@ DEBUG='NO' CLEAN='NO' # C/C++ compiler flags -export CFLAGS='-arch ppc -arch i386 -arch ppc64 -arch x86_64 -O3 -fno-omit-frame-pointer' -export CXXFLAGS='-arch ppc -arch i386 -arch ppc64 -arch x86_64 -O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti' +export CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer -mmacosx-version-min=10.5' +export CXXFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mmacosx-version-min=10.5' CONFIGURE_OPTIONS='--without-server --enable-thread-safe-client --disable-dependency-tracking' BINARY_DISTRIBUTION_SCRIPT='scripts/make_binary_distribution' @@ -44,8 +44,8 @@ then fi echo '' -echo "This script builds the MySQL client libraries for distrubution in Sequel Pro's MCPKit MySQL framework." -echo 'The are all built as 4-way (32/64 bit, i386/PPC arch) binaries.' +echo "This script builds the MySQL client libraries for distribution in Sequel Pro's MCPKit MySQL framework." +echo 'They are all built as 3-way binaries (32 bit PPC, 32/64 bit i386).' echo '' echo -n 'This may take a while, are you sure you want to continue [y | n]: ' @@ -111,9 +111,9 @@ fi if [ $? -eq 0 ] then - echo 'Bulding libraries successfully completed' + echo 'Building libraries successfully completed' else - echo 'Bulding libraries failed. Exiting...' + echo 'Building libraries failed. Exiting...' exit 1 fi @@ -128,9 +128,9 @@ fi if [ $? -eq 0 ] then - echo 'Bulding binary distribution successfully completed' + echo 'Building binary distribution successfully completed' else - echo 'Bulding binary distribution failed. Exiting...' + echo 'Building binary distribution failed. Exiting...' exit 1 fi |