Skip to content

Commit ee9fa2a

Browse files
committed
Update Makefile
1 parent 848558d commit ee9fa2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ ifneq ($(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release 2>/dev/nul
2020
ARCH_ADD = -lcblas
2121
endif
2222

23-
CCV := $(shell $(CC) --version | head -n 1)
24-
CXXV := $(shell $(CXX) --version | head -n 1)
2523

2624
# Mac OS + Arm can report x86_64
2725
# ref: https://github.com/ggerganov/whisper.cpp/issues/66#issuecomment-1282546789
@@ -245,6 +243,9 @@ ifneq ($(filter armv8%,$(UNAME_M)),)
245243
CFLAGS += -mfp16-format=ieee -mno-unaligned-access
246244
endif
247245

246+
CCV := $(shell $(CC) --version | head -n 1)
247+
CXXV := $(shell $(CXX) --version | head -n 1)
248+
248249
DEFAULT_BUILD =
249250
FAILSAFE_BUILD =
250251
OPENBLAS_BUILD =

0 commit comments

Comments
 (0)