make : fix CUDA build (#5580)

This commit is contained in:
Georgi Gerganov 2024-02-19 13:41:51 +02:00
parent 70d45af0ef
commit 68a6b98b3c
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -100,6 +100,7 @@ endif
MK_CPPFLAGS = -I. -Icommon MK_CPPFLAGS = -I. -Icommon
MK_CFLAGS = -std=c11 -fPIC MK_CFLAGS = -std=c11 -fPIC
MK_CXXFLAGS = -std=c++11 -fPIC MK_CXXFLAGS = -std=c++11 -fPIC
MK_NVCCFLAGS = -std=c++11
# -Ofast tends to produce faster code, but may not be available for some compilers. # -Ofast tends to produce faster code, but may not be available for some compilers.
ifdef LLAMA_FAST ifdef LLAMA_FAST