| 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
|
|
|