aboutsummaryrefslogtreecommitdiff
path: root/depends/builders
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-01-07 14:01:44 +0800
committerfanquake <fanquake@gmail.com>2022-02-10 12:33:02 +0000
commit75ae39eeec22e56c92f1241ff2ae87ad9a974625 (patch)
tree425e9fbe64ad2df05371f76d04c43b395d55a6b3 /depends/builders
parenta7e80449c0811b361cdaea39b6bab78ca5fbf668 (diff)
build: add a default build tar in depends
This is so we can override it later for BSDs.
Diffstat (limited to 'depends/builders')
-rw-r--r--depends/builders/default.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/builders/default.mk b/depends/builders/default.mk
index f097db65d6..0370fb9acb 100644
--- a/depends/builders/default.mk
+++ b/depends/builders/default.mk
@@ -1,6 +1,7 @@
default_build_CC = gcc
default_build_CXX = g++
default_build_AR = ar
+default_build_TAR = tar
default_build_RANLIB = ranlib
default_build_STRIP = strip
default_build_NM = nm
@@ -12,7 +13,7 @@ build_$(build_os)_$1 ?= $$(default_build_$1)
build_$(build_arch)_$(build_os)_$1 ?= $$(build_$(build_os)_$1)
build_$1=$$(build_$(build_arch)_$(build_os)_$1)
endef
-$(foreach var,CC CXX AR RANLIB NM STRIP SHA256SUM DOWNLOAD OTOOL INSTALL_NAME_TOOL,$(eval $(call add_build_tool_func,$(var))))
+$(foreach var,CC CXX AR TAR RANLIB NM STRIP SHA256SUM DOWNLOAD OTOOL INSTALL_NAME_TOOL,$(eval $(call add_build_tool_func,$(var))))
define add_build_flags_func
build_$(build_arch)_$(build_os)_$1 += $(build_$(build_os)_$1)
build_$1=$$(build_$(build_arch)_$(build_os)_$1)