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

Unified Diff: tools/pnacl-llc/Makefile

Issue 945553002: Allow LLVM TOOLS_ONLY builds w/ subzero, localize noirt/srpc (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « tools/Makefile ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/pnacl-llc/Makefile
diff --git a/tools/pnacl-llc/Makefile b/tools/pnacl-llc/Makefile
index bf4a0e8be829df024d3e090abf01b456262f2fde..64959e7b7b3119a09a9f90cf2f5afc5cb734e25f 100644
--- a/tools/pnacl-llc/Makefile
+++ b/tools/pnacl-llc/Makefile
@@ -14,3 +14,11 @@ LINK_COMPONENTS := all-targets bitreader naclbitreader irreader \
include $(LEVEL)/Makefile.common
+ifeq ($(PNACL_BROWSER_TRANSLATOR),1)
+ # NOTE: we specify --noirt to tell the driver that we should link
+ # against private (non-stable, non-IRT) libraries for the
+ # sandboxed translator. This could have been specified directly,
+ # except that LLVM slips in -lpthread elsewhere in the build system,
+ # and we need it to use -lpthread_private instead.
+ LIBS += -Wl,--noirt -lsrpc -limc_syscalls -lplatform -lgio -lpthread
+endif
« no previous file with comments | « tools/Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698