File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -316,10 +316,10 @@ LLVM_LDFLAGS_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --ldflags)
316
316
ifeq ($$(findstring freebsd,$(1 ) ) ,freebsd)
317
317
# On FreeBSD, it may search wrong headers (that are for pre-installed LLVM),
318
318
# so we replace -I with -iquote to ensure that it searches bundled LLVM first.
319
- LLVM_CXXFLAGS_$(1) =$$(subst -I, -iquote , $$(shell "$$(LLVM_CONFIG_$(1 ) ) " --cxxflags) )
319
+ LLVM_CXXFLAGS_$(1) =$$(subst -I, -iquote , $$(shell "$$(LLVM_CONFIG_$(1 ) ) " --cxxflags) $$( CXXFLAGS ) )
320
320
else
321
321
LLVM_CXXFLAGS_$(1) =$$(filter-out $$(LLVM_FILTER_CXXFLAGS_$(1 ) ) , \
322
- $$(shell "$$(LLVM_CONFIG_$(1 ) ) " --cxxflags) ) \
322
+ $$(shell "$$(LLVM_CONFIG_$(1 ) ) " --cxxflags) $$( CXXFLAGS ) ) \
323
323
$$(LLVM_EXTRA_CXXFLAGS_$(1 ) )
324
324
endif
325
325
LLVM_HOST_TRIPLE_$(1 ) =$$(shell "$$(LLVM_CONFIG_$(1 ) ) " --host-target)
You can’t perform that action at this time.
0 commit comments