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-16 23:31:12 -04:00
committed by Geoffrey D. Bennett
parent 955dd1355a
commit c5b1ff0b94

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