Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: tools/llvm/driver.py

Issue 7011024: Two minor fixes to utman.sh (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/llvm/driver.py
===================================================================
--- tools/llvm/driver.py (revision 5276)
+++ tools/llvm/driver.py (working copy)
@@ -593,7 +593,7 @@
# Copy LD flags related to stripping over to OPT to have the analogous
# actions be done to the bitcode.
- linkflags = env.get('LD_FLAGS')
+ linkflags = shell.split(env.get('LD_FLAGS'))
if '-s' in linkflags or '--strip-all' in linkflags:
env.append('OPT_FLAGS', '-strip')
if '-S' in linkflags or '--strip-debug' in linkflags:
@@ -1953,10 +1953,11 @@
if isinstance(args, str):
args = shell.split(env.eval(args))
+ Log.Info('\n' + StringifyCommand(args, stdin))
+
if env.getbool('DRY_RUN'):
return
- Log.Info('\n' + StringifyCommand(args, stdin))
try:
p = subprocess.Popen(args, stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698