OLD | NEW |
1 #===- tools/pnacl-llc/Makefile -----------------------------*- Makefile -*-===## | 1 #===- tools/pnacl-llc/Makefile -----------------------------*- Makefile -*-===## |
2 # | 2 # |
3 # The LLVM Compiler Infrastructure | 3 # The LLVM Compiler Infrastructure |
4 # | 4 # |
5 # This file is distributed under the University of Illinois Open Source | 5 # This file is distributed under the University of Illinois Open Source |
6 # License. See LICENSE.TXT for details. | 6 # License. See LICENSE.TXT for details. |
7 # | 7 # |
8 ##===----------------------------------------------------------------------===## | 8 ##===----------------------------------------------------------------------===## |
9 | 9 |
10 LEVEL := ../.. | 10 LEVEL := ../.. |
11 TOOLNAME := pnacl-llc | 11 TOOLNAME := pnacl-llc |
12 LINK_COMPONENTS := all-targets bitreader naclbitreader irreader \ | 12 LINK_COMPONENTS := all-targets bitreader naclbitreader irreader \ |
13 asmparser naclanalysis nacltransforms | 13 asmparser naclanalysis nacltransforms |
14 | 14 |
15 include $(LEVEL)/Makefile.common | 15 include $(LEVEL)/Makefile.common |
16 | 16 |
| 17 ifeq ($(PNACL_BROWSER_TRANSLATOR),1) |
| 18 # NOTE: we specify --noirt to tell the driver that we should link |
| 19 # against private (non-stable, non-IRT) libraries for the |
| 20 # sandboxed translator. This could have been specified directly, |
| 21 # except that LLVM slips in -lpthread elsewhere in the build system, |
| 22 # and we need it to use -lpthread_private instead. |
| 23 LIBS += -Wl,--noirt -lsrpc -limc_syscalls -lplatform -lgio -lpthread |
| 24 endif |
OLD | NEW |