Skip to content

Commit 2671781

Browse files
committed
fix(build): clear linker flags for WHISPER and MINIAUDIO when using HIP_CLANG
1 parent 29bc44b commit 2671781

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ ifneq (,$(findstring HIP,$(LLAMA)))
262262
LLAMA_LIBS += $(BUILD_LLAMA)/ggml/src/ggml-hip/ggml-hip.lib
263263
ifeq ($(USE_HIP_CLANG),1)
264264
# HIP Clang linker flags for .lib files
265+
WHISPER_LDFLAGS =
266+
#-L./$(BUILD_WHISPER)/src/Release -lwhisper
267+
MINIAUDIO_LDFLAGS =
268+
#-L./$(BUILD_MINIAUDIO)/Release -lminiaudio
265269
LLAMA_LDFLAGS += -L"$(HIP_PATH)/lib" -lamdhip64 -lrocblas
266270
else
267271
# MinGW linker flags (should not be used for HIP)

0 commit comments

Comments
 (0)