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

Unified Diff: pnacl/driver/pnacl-ar.py

Issue 8698014: Switch to using the LLVM gold plugin as a fully linked-in object rather than DSO. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 10 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
Index: pnacl/driver/pnacl-ar.py
===================================================================
--- pnacl/driver/pnacl-ar.py (revision 7831)
+++ pnacl/driver/pnacl-ar.py (working copy)
@@ -15,5 +15,8 @@
from driver_log import Log
def main(argv):
+ if len(argv) > 0:
+ # --plugin must come after the command flags, but before the filename.
+ argv = [argv[0], '--plugin=LLVMgold'] + argv[1:]
env.set('ARGS', *argv)
return driver_tools.RunWithLog('${AR} ${ARGS}', errexit = False)
« pnacl/build.sh ('K') | « pnacl/driver/driver_env.py ('k') | pnacl/driver/pnacl-ld.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698