From 6676d4161d509ed9c734f552d4a5b8dd668f75d0 Mon Sep 17 00:00:00 2001 From: Siva Chandra Reddy Date: Mon, 8 Apr 2019 13:54:25 -0700 Subject: [PATCH] Actuall use LLVM_OBJCOPY if available. --- csu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csu/Makefile b/csu/Makefile index b0049b2ef26..b04a060c503 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -117,7 +117,7 @@ $(CC) -nostdlib -nostartfiles -r -o $@.precopy $^ # retains relocs, the section is garbled and causes errors in later # links done with --icf=safe. The removal can be unconditional as it # is a no-op for non-clang/lld. -$(OBJCOPY) --remove-section=.llvm_addrsig $@.precopy $@ +$(OBJCOPY_FOR_ADDRSIG) --remove-section=.llvm_addrsig $@.precopy $@ rm $@.precopy endef -- 2.47.3