Skip to content

Commit

Permalink
common: LLAMA_USE_CURL in make toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
phymbert committed Mar 16, 2024
1 parent 42b25da commit 7e78285
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,11 @@ include scripts/get-flags.mk
CUDA_CXXFLAGS := $(BASE_CXXFLAGS) $(GF_CXXFLAGS) -Wno-pedantic
endif

ifdef LLAMA_USE_CURL
override CXXFLAGS := $(CXXFLAGS) -DLLAMA_USE_CURL
override LDFLAGS := $(LDFLAGS) -lcurl
endif

#
# Print build information
#
Expand Down

0 comments on commit 7e78285

Please sign in to comment.