[llvm-branch-commits] [llvm-gcc-branch] r126239 - /llvm-gcc-4.2/branches/Apple/Morbo/build_gcc

Stuart Hastings stuart at apple.com
Tue Feb 22 11:55:08 PST 2011


Author: stuart
Date: Tue Feb 22 13:55:07 2011
New Revision: 126239

URL: http://llvm.org/viewvc/llvm-project?rev=126239&view=rev
Log:
Insure minor version # appears in -v output.  Radar 8546196.

Modified:
    llvm-gcc-4.2/branches/Apple/Morbo/build_gcc

Modified: llvm-gcc-4.2/branches/Apple/Morbo/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/build_gcc?rev=126239&r1=126238&r2=126239&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/build_gcc (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/build_gcc Tue Feb 22 13:55:07 2011
@@ -256,7 +256,11 @@
   MAKEFLAGS="$MAKEFLAGS BUILD_LLVM_APPLE_STYLE=1"
   # Build llvm-gcc in 'dylib mode'.
   MAKEFLAGS="$MAKEFLAGS BUILD_LLVM_INTO_A_DYLIB=1"
-  MAKEFLAGS="$MAKEFLAGS LLVM_VERSION_INFO=$LLVM_SUBMIT_VERSION"
+  if [ x$LLVM_SUBMIT_SUBVERSION == x ]; then
+      MAKEFLAGS="$MAKEFLAGS LLVM_VERSION_INFO=$LLVM_SUBMIT_VERSION"
+  else
+      MAKEFLAGS="$MAKEFLAGS LLVM_VERSION_INFO=$LLVM_SUBMIT_VERSION.$LLVM_SUBMIT_SUBVERSION"
+  fi
 fi
 # LLVM LOCAL end
 





More information about the llvm-branch-commits mailing list