common: LLAMA_USE_CURL in make toolchain
This commit is contained in:
parent
42b25dacab
commit
7e782856bd
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -595,6 +595,11 @@ include scripts/get-flags.mk
|
||||||
CUDA_CXXFLAGS := $(BASE_CXXFLAGS) $(GF_CXXFLAGS) -Wno-pedantic
|
CUDA_CXXFLAGS := $(BASE_CXXFLAGS) $(GF_CXXFLAGS) -Wno-pedantic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef LLAMA_USE_CURL
|
||||||
|
override CXXFLAGS := $(CXXFLAGS) -DLLAMA_USE_CURL
|
||||||
|
override LDFLAGS := $(LDFLAGS) -lcurl
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Print build information
|
# Print build information
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue