From: Jack H. <ho...@br...> - 2012-02-26 23:04:15
|
In adjusting the current valgrind packaging to build if Xcode 4.3 or later is present... http://sourceforge.net/tracker/?func=detail&aid=3494843&group_id=17203&atid=414256 I settled on the following construct... if [ `readlink /usr/bin/cc` != "clang" ] then export CC=llvm-gcc-4.2 fi I think this is the most concise test for us to use in testing for clang3.1svn as Xcode 4.3 is the first release with /usr/bin/cc and /usr/bin/c++ symlinked to clang and clang++ respectively. We should use this test for any other packages in 10.7 currently using llvm-gcc-4.2 that can now be compiled with clang 3.1svn. Jack |