common: LLAMA_USE_CURL in make toolchain

This commit is contained in:
Pierrick HYMBERT 2024-03-16 13:45:09 +01:00
parent 42b25dacab
commit 7e782856bd

View file

@ -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
# #