termux-packages/disabled-packages/apk-tools/Make.rules.patch
Leonid Pliushch 4d7d3ed05e move abuild and apk-tools to disabled packages
We are continuing to use APT as package manager, so having another one is pointless
especially if we are not going to create repository for `apk`.
2019-10-10 15:33:35 +03:00

17 lines
474 B
Diff

diff -u -r ../apk-tools-2.10.1/Make.rules ./Make.rules
--- ../apk-tools-2.10.1/Make.rules 2018-09-10 08:04:03.000000000 +0000
+++ ./Make.rules 2018-09-10 21:36:27.914805239 +0000
@@ -64,9 +64,9 @@
# Utilities and default flags for them.
CROSS_COMPILE ?=
-CC := $(CROSS_COMPILE)gcc
-AR := $(CROSS_COMPILE)ar
-LD := $(CROSS_COMPILE)ld
+CC ?= $(CROSS_COMPILE)gcc
+AR ?= $(CROSS_COMPILE)ar
+LD ?= $(CROSS_COMPILE)ld
INSTALL := install
INSTALLDIR := $(INSTALL) -d