b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From: Rui Salvaterra <rsalvaterra@gmail.com> |
| 2 | Subject: sstrip: don't try to compile elftoc |
| 3 | |
| 4 | We only need sstrip itself and elftoc doesn't compile with musl's elf.h, so |
| 5 | disable the elftoc compilation in the makefile. |
| 6 | |
| 7 | Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> |
| 8 | --- |
| 9 | |
| 10 | --- a/Makefile |
| 11 | +++ b/Makefile |
| 12 | @@ -2,7 +2,7 @@ |
| 13 | |
| 14 | prefix = /usr/local |
| 15 | |
| 16 | -PROGRAMS = elfls objres rebind sstrip elftoc ebfc infect |
| 17 | +PROGRAMS = elfls objres rebind sstrip ebfc infect |
| 18 | |
| 19 | all: $(PROGRAMS) |
| 20 | |
| 21 | @@ -19,7 +19,6 @@ elfls: bin/elfls doc/elfls.1 |
| 22 | objres: bin/objres doc/objres.1 |
| 23 | rebind: bin/rebind doc/rebind.1 |
| 24 | sstrip: bin/sstrip doc/sstrip.1 |
| 25 | -elftoc: bin/elftoc doc/elftoc.1 |
| 26 | ebfc: bin/ebfc doc/ebfc.1 |
| 27 | infect: bin/infect doc/infect.1 |
| 28 | |