Fix ocaml tests for 64-bit MacOS systems. LLVM is currently built
authorBob Wilson <bob.wilson@apple.com>
Tue, 21 Jul 2009 21:56:46 +0000 (21:56 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 21 Jul 2009 21:56:46 +0000 (21:56 +0000)
commite3228acc62ef42947db919f4da3c44869366bf7c
tree7f50644496ce2b6db1afac51830f1eb3d133e973
parentc2a942ec545f3b945a5b4856300d61d80092e486
Fix ocaml tests for 64-bit MacOS systems.  LLVM is currently built
as 32-bit code by default, and if gcc defaults to 64-bit code then ocamlc
requires a -cc "gcc -arch i386" option.  We were hardcoding -cc g++
and throwing away any other compiler options that were determined when
ocamlc was configured and built.

llvm-svn: 76658
llvm/test/Makefile