Update Makefile to use $(CC) rather than cc

Calling cc directly causes a build failure on Clang/LLVM based Gentoo
machines that use LLVM specific toolchain flags.
This commit is contained in:
unhappy-ending
2024-05-17 18:30:13 +09:30
committed by Geoffrey D. Bennett
parent 955dd1355a
commit c5b1ff0b94
+1 -1
View File
@@ -66,7 +66,7 @@ $(DEPFILES):
include $(wildcard $(DEPFILES))
$(TARGET): $(OBJS)
cc -o $(TARGET) $(OBJS) ${LDFLAGS}
$(CC) -o $(TARGET) $(OBJS) ${LDFLAGS}
ifeq ($(PREFIX),)
PREFIX := /usr/local