diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-08-13 13:30:55 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-08-13 14:08:12 +0100 |
commit | d61f6677e3edff32704ce5ce527a830a10bd5f20 (patch) | |
tree | f14608bbaf01d86e48e41f10c7549ff35d2f8516 | |
parent | a2e733b94619282060ec860104e0a79167725387 (diff) |
build: Add objcopy host tool
Qt's mkspec references the objcopy tool.
-rw-r--r-- | depends/hosts/default.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/hosts/default.mk b/depends/hosts/default.mk index ea60f025de..7c76331ab4 100644 --- a/depends/hosts/default.mk +++ b/depends/hosts/default.mk @@ -9,6 +9,7 @@ default_host_RANLIB = $(host_toolchain)ranlib default_host_STRIP = $(host_toolchain)strip default_host_LIBTOOL = $(host_toolchain)libtool default_host_NM = $(host_toolchain)nm +default_host_OBJCOPY = $(host_toolchain)objcopy define add_host_tool_func ifneq ($(filter $(origin $1),undefined default),) @@ -33,5 +34,5 @@ host_$1 = $$($(host_arch)_$(host_os)_$1) host_$(release_type)_$1 = $$($(host_arch)_$(host_os)_$(release_type)_$1) endef -$(foreach tool,CC CXX AR RANLIB STRIP NM LIBTOOL OTOOL INSTALL_NAME_TOOL DSYMUTIL,$(eval $(call add_host_tool_func,$(tool)))) +$(foreach tool,CC CXX AR RANLIB STRIP LIBTOOL NM OBJCOPY OTOOL INSTALL_NAME_TOOL DSYMUTIL,$(eval $(call add_host_tool_func,$(tool)))) $(foreach flags,CFLAGS CXXFLAGS CPPFLAGS LDFLAGS, $(eval $(call add_host_flags_func,$(flags)))) |