We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7f29f commit 577277fCopy full SHA for 577277f
Makefile
@@ -27,6 +27,17 @@ ifndef UNAME_M
27
UNAME_M := $(shell uname -m)
28
endif
29
30
+# In GNU make default CXX is g++ instead of c++. Let's fix that so that users
31
+# of non-gcc compilers don't have to provide g++ alias or wrapper.
32
+DEFCC := cc
33
+DEFCXX := c++
34
+ifeq ($(origin CC),default)
35
+CC := $(DEFCC)
36
+endif
37
+ifeq ($(origin CXX),default)
38
+CXX := $(DEFCXX)
39
40
+
41
# Mac OS + Arm can report x86_64
42
# ref: https://github.com/ggerganov/whisper.cpp/issues/66#issuecomment-1282546789
43
ifeq ($(UNAME_S),Darwin)
0 commit comments