[llvm-commits] [llvm-gcc-4.2] r84915 - /llvm-gcc-4.2/trunk/build_gcc
Stuart Hastings
stuart at apple.com
Thu Oct 22 16:52:41 PDT 2009
Author: stuart
Date: Thu Oct 22 18:52:41 2009
New Revision: 84915
URL: http://llvm.org/viewvc/llvm-project?rev=84915&view=rev
Log:
Temporary Barolo compatibility hack; look for C++ headers under i686-apple-darwin10, not darwin11.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=84915&r1=84914&r2=84915&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Thu Oct 22 18:52:41 2009
@@ -116,7 +116,11 @@
NON_ARM_CONFIGFLAGS="--with-gxx-include-dir=/usr/include/c++/$LIBSTDCXX_VERSION"
# LLVM LOCAL end
-DARWIN_VERS=`uname -r | sed 's/\..*//'`
+#DARWIN_VERS=`uname -r | sed 's/\..*//'`
+# KLUDGE: Barolo compatbility hack!
+# Remove when /usr/include/c++/4.2.1/i686-apple-darwin11 is established!
+DARWIN_VERS=`sw_vers -productVersion | sed 's/\..*//'`
+# end KLUDGE
echo DARWIN_VERS = $DARWIN_VERS
# APPLE LOCAL begin ARM
More information about the llvm-commits
mailing list