[llvm-commits] [llvm-gcc-4.2] r85950 - /llvm-gcc-4.2/trunk/build_gcc
Evan Cheng
evan.cheng at apple.com
Tue Nov 3 13:50:02 PST 2009
Author: evancheng
Date: Tue Nov 3 15:50:02 2009
New Revision: 85950
URL: http://llvm.org/viewvc/llvm-project?rev=85950&view=rev
Log:
Allow user to override DARWIN_VERS from command line.
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=85950&r1=85949&r2=85950&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Tue Nov 3 15:50:02 2009
@@ -116,7 +116,9 @@
NON_ARM_CONFIGFLAGS="--with-gxx-include-dir=/usr/include/c++/$LIBSTDCXX_VERSION"
# LLVM LOCAL end
-DARWIN_VERS=`uname -r | sed 's/\..*//'`
+if [ "x$DARWIN_VERS" == "x" ]; then
+ DARWIN_VERS=`uname -r | sed 's/\..*//'`
+fi
echo DARWIN_VERS = $DARWIN_VERS
# APPLE LOCAL begin ARM
More information about the llvm-commits
mailing list