OLD | NEW |
1 | 1 |
2 ifndef SUBZERO_LEVEL | 2 ifndef SUBZERO_LEVEL |
3 # Top-level, not included from a subdir | 3 # Top-level, not included from a subdir |
4 SUBZERO_LEVEL := . | 4 SUBZERO_LEVEL := . |
5 DIRS := src | 5 DIRS := src |
6 PARALLEL_DIRS := | 6 PARALLEL_DIRS := |
7 endif | 7 endif |
8 | 8 |
9 # Set LLVM source root level. | 9 # Set LLVM source root level. |
10 LEVEL := $(SUBZERO_LEVEL)/../.. | 10 LEVEL := $(SUBZERO_LEVEL)/../.. |
(...skipping 11 matching lines...) Expand all Loading... |
22 ifeq ($(PNACL_BROWSER_TRANSLATOR),1) | 22 ifeq ($(PNACL_BROWSER_TRANSLATOR),1) |
23 CPP.Defines += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \ | 23 CPP.Defines += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \ |
24 -DALLOW_TIMERS=0 -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_MINIMAL_BUILD=1 \ | 24 -DALLOW_TIMERS=0 -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_MINIMAL_BUILD=1 \ |
25 -DALLOW_WASM=0 -DPNACL_BROWSER_TRANSLATOR=1 | 25 -DALLOW_WASM=0 -DPNACL_BROWSER_TRANSLATOR=1 |
26 else | 26 else |
27 CPP.Defines += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \ | 27 CPP.Defines += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \ |
28 -DALLOW_TIMERS=1 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_MINIMAL_BUILD=0 \ | 28 -DALLOW_TIMERS=1 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_MINIMAL_BUILD=0 \ |
29 -DALLOW_WASM=0 -DPNACL_BROWSER_TRANSLATOR=0 | 29 -DALLOW_WASM=0 -DPNACL_BROWSER_TRANSLATOR=0 |
30 CXX.Flags += -Wno-undefined-var-template | 30 CXX.Flags += -Wno-undefined-var-template |
31 endif | 31 endif |
| 32 |
| 33 CPP.Defines += -DPNACL_LLVM |
OLD | NEW |