Skip to content

Commit

Permalink
config: fix shell compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
riptl committed Feb 20, 2024
1 parent 76f0506 commit 52bc255
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/everything.mk
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,10 @@ define _make-lcov
# objects compiled from assembly code.
.PHONY: $(1)/cov/mappings.ar
$(1)/cov/mappings.ar:
rm -f $(1)/cov/mappings.ar && \
mkdir -p $$(dir $$@) && \
find $$(addsuffix /obj,$(2)) -name '*.o' -exec sh -c \
'[[ -n "`llvm-objdump -h $$$$1 | grep llvm_covmap`" ]] \
rm -f $(1)/cov/mappings.ar && \
mkdir -p $$(dir $$@) && \
find $$(addsuffix /obj,$(2)) -name '*.o' -exec sh -c \
'[ -n "`llvm-objdump -h $$$$1 | grep llvm_covmap`" ] \
&& llvm-ar --thin q $$@ $$$$1' sh {} \;

# llvm-cov step 5
Expand Down

0 comments on commit 52bc255

Please sign in to comment.