mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Actuall use LLVM_OBJCOPY if available.
This commit is contained in:
parent
059f0081cf
commit
6676d4161d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user