Skip to content

Commit 3b4aebd

Browse files
committed
fix(build): quote paths for clang executables in HIP_CLANG configuration
1 parent 43c962b commit 3b4aebd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ ifeq ($(PLATFORM),windows)
5757
OBJ_EXT = .obj
5858
LIB_EXT = .lib
5959
else ifeq ($(USE_HIP_CLANG),1)
60-
CC = $(HIP_PATH)/bin/clang.exe
61-
CXX = $(HIP_PATH)/bin/clang++.exe
60+
CC = "$(HIP_PATH)/bin/clang.exe"
61+
CXX = "$(HIP_PATH)/bin/clang++.exe"
6262
CFLAGS = -Wall -Wextra -Wno-unused-parameter -I$(SRC_DIR) -I$(LLAMA_DIR)/ggml/include -I$(LLAMA_DIR)/include -I$(WHISPER_DIR)/include -I$(MINIAUDIO_DIR)
6363
OBJ_EXT = .o
6464
LIB_EXT = .lib

0 commit comments

Comments
 (0)