From nobody Fri Apr 21 20:14:07 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q35Mj0JFVz46qxT; Fri, 21 Apr 2023 20:14:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q35Mh0S95z3qfs; Fri, 21 Apr 2023 20:14:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682108048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qHElZYga0JlCqF+8nkNxIehU7ttPpBuUjQx/G9iuuuw=; b=o/8hl83WlX0gP1IeHGgbbBz0onmUP9ELuTwBXtpBpoJ45ryMO3+RdmxrZDb/zsMU1hcFNh 1TroWf4kCA3Q2imb7QHGyuuFnjyEk4Vz0UIGraMx1S9Fq+KmJ1xm2VaU5raYemXLHA2l6p yte4E1ooTBenrs/iwhzXlN5v0oBa6f/5GCC5xoAs2FIYYfv31+6PTzUm6hDtT+4W9BpuSY zfSzETos4GzcVcJeqAPXkhRyzLa9dcz6u2TlXCV15w0nSKpHhS+6cs104Z4gfQ/PI6PDTn uddwcM1cSNOHo799yPWIoXQenBh9D1AxRV3kL54IOkrLkWsvDP7Qly5sWFtaNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682108048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qHElZYga0JlCqF+8nkNxIehU7ttPpBuUjQx/G9iuuuw=; b=twfa8N2BiIebwtlBKBEZb2J94WA0DQ3W0ULYRWw4OwLQuPdOgecgjBdURu/h50WZDXwlxc mxv9UDr8WhfOlMBatn68sYmk2btlbj/Th1/Vev17W+jIMyMA1WLMiWhKmYLAzgvgdQmuRp w37JuA9Gp+42ujq+GxvsjWiYbK3Hl2rh4r/Rhsk0B4TXxvNlZFj8PyJPr4RMW6KkaRs+fI SuKigtIC/mYnZdjA1XyXhY3NNCLC3dSb0nYtz9u/kP3rmSpzRAM+idolGoxaEqG72h5T14 UHGDUURF9tdfgbZ27JpAtlHySrf3fW/dA/+QFW/kDFZJSGNSX0MSD4UO2UuygA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682108048; a=rsa-sha256; cv=none; b=O8f6URo33AuqPRG1R9PwEf9hNAFgGrBmJZ+lsUZJcFUIEpqhDzcc86xS8y6eXdYm1xRF8o xc8ORO7QimEEdietGr3ykHIoYrXBhSiqfDMBgyOirerZFOxzoFhONBhkPKbSdKrBRmpXyA wxP0dmF5ZGcBa7ZFxzTYWq+qz+OoatzTzLjbrBkz5YNnIr9KAh4GnNBG3ixCrL2/SXzU8T BJPsMOwzpL0Okv9o1yvmJ1Fg2cnLgC3etarshBbabXWzX83Ae5/8xB/+B0sfh7Itn5pQ0D n6RV1Oer2HLuX94Dg1mfKGbLaS8K385c+X3CGbqBGB4VxuhSzL15rOAToVvujw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q35Mg6XrTzYvg; Fri, 21 Apr 2023 20:14:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33LKE7cL013404; Fri, 21 Apr 2023 20:14:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33LKE7fL013403; Fri, 21 Apr 2023 20:14:07 GMT (envelope-from git) Date: Fri, 21 Apr 2023 20:14:07 GMT Message-Id: <202304212014.33LKE7fL013403@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 81fa5c4a828b - main - llvm-strings: Install as strings when WITH_LLVM_BINUTILS=YES List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 81fa5c4a828bec9f1ead280c59c31bd423e6eeea Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=81fa5c4a828bec9f1ead280c59c31bd423e6eeea commit 81fa5c4a828bec9f1ead280c59c31bd423e6eeea Author: Cameron Katri AuthorDate: 2023-04-05 19:53:33 +0000 Commit: Ed Maste CommitDate: 2023-04-21 20:13:40 +0000 llvm-strings: Install as strings when WITH_LLVM_BINUTILS=YES Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D32065 --- usr.bin/Makefile | 2 +- usr.bin/clang/llvm-strings/Makefile | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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 + 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"