File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 5257a5c6c3943e39768b1619013b82f602a8f156
4
+ refs/heads/snap-stage3: 5e250b695113c87e2183bb3b03160ae02fd748d1
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -212,7 +212,9 @@ LLVM_INCDIR_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --includedir)
212
212
LLVM_LIBDIR_$(1 ) =$$(shell "$$(LLVM_CONFIG_$(1 ) ) " --libdir)
213
213
LLVM_LIBS_$(1 ) =$$(shell "$$(LLVM_CONFIG_$(1 ) ) " --libs $$(LLVM_COMPONENTS ) )
214
214
LLVM_LDFLAGS_$(1 ) =$$(shell "$$(LLVM_CONFIG_$(1 ) ) " --ldflags)
215
- LLVM_CXXFLAGS_$(1 ) =$$(shell "$$(LLVM_CONFIG_$(1 ) ) " --cxxflags)
215
+ # On FreeBSD, it may search wrong headers (that are for pre-installed LLVM),
216
+ # so we replace -I with -iquote to ensure that it searches bundled LLVM first.
217
+ LLVM_CXXFLAGS_$(1 ) =$$(subst -I, -iquote , $$(shell "$$(LLVM_CONFIG_$(1 ) ) " --cxxflags) )
216
218
LLVM_HOST_TRIPLE_$(1 ) =$$(shell "$$(LLVM_CONFIG_$(1 ) ) " --host-target)
217
219
218
220
LLVM_AS_$(1 ) =$$(CFG_LLVM_INST_DIR_$(1 ) ) /bin/llvm-as$$(X )
You can’t perform that action at this time.
0 commit comments