diff options
| author | Cameron Katri <me@cameronkatri.com> | 2023-04-05 19:53:33 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2023-04-21 20:13:40 +0000 |
| commit | 81fa5c4a828bec9f1ead280c59c31bd423e6eeea (patch) | |
| tree | 33c9c8474e6c0cdc72ef513faf1750036c2b6702 | |
| parent | 5d3e7166f6a0187fa3f8831b16a06bd9955c21ff (diff) | |
| -rw-r--r-- | usr.bin/Makefile | 2 | ||||
| -rw-r--r-- | usr.bin/clang/llvm-strings/Makefile | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 417c564b2fae..19988d35c7ba 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -144,7 +144,6 @@ SUBDIR= alias \ split \ stat \ stdbuf \ - strings \ su \ systat \ tail \ @@ -258,6 +257,7 @@ SUBDIR.${MK_TOOLCHAIN}+= nm SUBDIR.${MK_TOOLCHAIN}+= objcopy SUBDIR.${MK_TOOLCHAIN}+= readelf SUBDIR.${MK_TOOLCHAIN}+= size +SUBDIR+= strings .endif SUBDIR.${MK_TOOLCHAIN}+= c89 SUBDIR.${MK_TOOLCHAIN}+= c99 diff --git a/usr.bin/clang/llvm-strings/Makefile b/usr.bin/clang/llvm-strings/Makefile index 1438aa847997..589c866820c4 100644 --- a/usr.bin/clang/llvm-strings/Makefile +++ b/usr.bin/clang/llvm-strings/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <src.opts.mk> + PROG_CXX= llvm-strings SRCDIR= llvm/tools/llvm-strings @@ -21,4 +23,9 @@ DEPENDFILES+= ${TGHDRS:C/$/.d/} DPSRCS+= ${TGHDRS} CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} +.if ${MK_LLVM_BINUTILS} != "no" +LINKS+= ${BINDIR}/llvm-strings ${BINDIR}/strings +MLINKS+= llvm-strings.1 strings.1 +.endif + .include "../llvm.prog.mk" |
