Skip to content

Commit 2434aea

Browse files
committed
depends: avoid an unset CMAKE_OBJDUMP
Similar to #31840, currently our Linux toolchain file contains: ```bash set(CMAKE_AR "aarch64-linux-gnu-ar") set(CMAKE_RANLIB "aarch64-linux-gnu-ranlib") set(CMAKE_STRIP "aarch64-linux-gnu-strip") set(CMAKE_OBJCOPY "aarch64-linux-gnu-objcopy") set(CMAKE_OBJDUMP "") ``` `objdump` is currently only used for the macOS cross build, where it's `llvm-objdump`, but we should be consistent in producing a toolchain file that points to actual tools, rather than leaving variables unset.
1 parent a5b0a44 commit 2434aea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/hosts/default.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ default_host_RANLIB = $(host_toolchain)ranlib
99
default_host_STRIP = $(host_toolchain)strip
1010
default_host_NM = $(host_toolchain)nm
1111
default_host_OBJCOPY = $(host_toolchain)objcopy
12+
default_host_OBJDUMP = $(host_toolchain)objdump
1213

1314
define add_host_tool_func
1415
ifneq ($(filter $(origin $1),undefined default),)

0 commit comments

Comments
 (0)