[llvm-commits] [llvm-gcc-4.2] r126237 - /llvm-gcc-4.2/trunk/build_gcc
Stuart Hastings
stuart at apple.com
Tue Feb 22 11:52:23 PST 2011
Author: stuart
Date: Tue Feb 22 13:52:23 2011
New Revision: 126237
URL: http://llvm.org/viewvc/llvm-project?rev=126237&view=rev
Log:
Insure minor version # appears in -v output. Radar 8546196.
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=126237&r1=126236&r2=126237&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Tue Feb 22 13:52:23 2011
@@ -248,7 +248,12 @@
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-commits
mailing list