Index: tools/clang/scripts/update.py |
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py |
index d59ae277a8f1d65605545bc2118aeb6257838925..03f484c6783e8d8cecbf6bc18699cd938e4cabae 100755 |
--- a/tools/clang/scripts/update.py |
+++ b/tools/clang/scripts/update.py |
@@ -307,7 +307,7 @@ def UpdateClang(args): |
'buildtype=Official' in os.environ.get('GYP_DEFINES', '') and |
'branding=Chrome' in os.environ.get('GYP_DEFINES', '')) |
- if ReadStampFile() == PACKAGE_VERSION: |
+ if ReadStampFile() == PACKAGE_VERSION and not args.force_local_build: |
print 'Clang is already up to date.' |
if not need_gold_plugin or os.path.exists( |
os.path.join(LLVM_BUILD_DIR, "lib/LLVMgold.so")): |