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

Unified Diff: Makefile.rules

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 | « no previous file | tools/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.rules
diff --git a/Makefile.rules b/Makefile.rules
index 3b7dab1c3bdd7af58e9085881bcb2fe040d89b86..4edea791229309d1b4972aab4bbebe775fc8c4eb 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -667,18 +667,6 @@ endif
#@LOCALMOD-BEGIN
ifeq ($(PNACL_BROWSER_TRANSLATOR),1)
CPP.Flags += -DPNACL_BROWSER_TRANSLATOR
- # 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
- ifeq ($(USE_TCMALLOC),1)
- # Note: -ltcmalloc_minimal needs to stay last on the link line
- LIBS += -ltcmalloc_minimal
- CXX.Flags += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
- C.Flags += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
- endif
endif
# @LOCALMOD-END
« no previous file with comments | « no previous file | tools/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698