termux-packages/packages/cc65/Makefile.patch

14 lines
313 B
Diff

--- ./src/Makefile.orig 2020-05-31 00:33:15.000000000 +0530
+++ ./src/Makefile 2021-08-26 20:22:30.920000000 +0530
@@ -40,8 +40,8 @@
RMDIR = $(RM) -r $1
endif
-CC = $(CROSS_COMPILE)gcc
-AR = $(CROSS_COMPILE)ar
+CC ?= $(CROSS_COMPILE)gcc
+AR ?= $(CROSS_COMPILE)ar
ifdef CROSS_COMPILE
$(info CC: $(CC))