lol
1diff -Nuar ocaml-3.12.1/configure ocaml-3.12.1-fix-configure/configure
2--- ocaml-3.12.1/configure 2011-07-04 23:15:01.000000000 +0200
3+++ ocaml-3.12.1-fix-configure/configure 2012-06-06 22:20:40.000000000 +0200
4@@ -259,7 +259,7 @@
5 bytecccompopts="-fno-defer-pop $gcc_warnings -DSHRINKED_GNUC"
6 mathlib="";;
7 *,*-*-darwin*)
8- bytecccompopts="-fno-defer-pop -no-cpp-precomp $gcc_warnings"
9+ bytecccompopts="-fno-defer-pop $gcc_warnings"
10 mathlib=""
11 # Tell gcc that we can use 32-bit code addresses for threaded code
12 # unless we are compiled for a shared library (-fPIC option)
13@@ -739,7 +739,7 @@
14 *,*,rhapsody,*) nativecccompopts="$gcc_warnings -DDARWIN_VERSION_6 $dl_defs"
15 if $arch64; then partialld="ld -r -arch ppc64"; fi;;
16 *,gcc*,cygwin,*) nativecccompopts="$gcc_warnings -U_WIN32";;
17- amd64,gcc*,macosx,*) partialld="ld -r -arch x86_64";;
18+ amd64,gcc*,macosx,*) partialld="ld -r";;
19 amd64,gcc*,solaris,*) partialld="ld -r -m elf_x86_64";;
20 *,gcc*,*,*) nativecccompopts="$gcc_warnings";;
21 esac
22@@ -752,8 +752,8 @@
23 asppprofflags='-pg -DPROFILING';;
24 alpha,*,*) as='as'
25 aspp='gcc -c';;
26- amd64,*,macosx) as='as -arch x86_64'
27- aspp='gcc -arch x86_64 -c';;
28+ amd64,*,macosx) as='as'
29+ aspp='gcc -c';;
30 amd64,*,solaris) as='as --64'
31 aspp='gcc -m64 -c';;
32 amd64,*,*) as='as'