Skip to content

Commit 5414fd5

Browse files
author
Kevin Frei
committed
Attempting to prefer llvm-dwp over gnu's dwp
1 parent ca6e4dd commit 5414fd5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,11 @@ ifneq "$(OS)" "Darwin"
364364

365365
OBJCOPY ?= $(call replace_cc_with,objcopy)
366366
ARCHIVER ?= $(call replace_cc_with,ar)
367-
DWP ?= $(call replace_cc_with,dwp)
367+
DWP ?= $(call replace_cc_with,llvm-dwp)
368+
# For devices that don't have llvm-dwp just use gnu dwp instead.
369+
ifeq ($(wildcard $(DWP)),)
370+
DWP = $(call replace_cc_with,dwp)
371+
endif
368372
override AR = $(ARCHIVER)
369373
endif
370374

0 commit comments

Comments
 (0)