From nobody Fri Sep 06 12:19:17 2024 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 4X0ZzB1PfXz5Ttng; Fri, 06 Sep 2024 12:19:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0ZzB0LjLz45LC; Fri, 6 Sep 2024 12:19:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725625158; 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=YIFKPcNZRKdcKTXSxV2RiE7fYe4pIz6mdc/05jw/wYQ=; b=qX6do3Q05ffCOb7TDJjHyRYRQgLbztEVDeJAoukqQFXvIR3HAy0Y2tCS3zncaB+cyqVu00 9CXSk7jK3SsTNZ1pegemutVbBN40Q7b8sCxDMoSO9M47/jHxUP2m/qjy0dVg/EYP3sI3Z+ 477twmrVNwq5wPqvCG0i4R7Pt34mRb/egCrLczOlrZjHOW52qn/XbsELkSGqJxmgu8hXQ7 uXljPcluqT0OgdfmYw4XuAGVrKLjqhJHBrrlsnppBX1zY9i/Cx5HN+xpvp/KwCQfJwVYIY hkMTFylUl/YmTA1c3NJuJx0v9aAYR+BPEEz/zM+0wRaVc12OrOe3x2xdq3yrow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725625158; a=rsa-sha256; cv=none; b=nCW/DUjh+YKyT5udnbFnrc58TK8AVGxJyxWl7oFiHqiLfTqRsYYD8dwp4CPhDBgsmlX7Io OpKbbPPKnEd97tQqm7bUhKV8754LdjcmG27a4wBZR1QFVZa0pQMkIuGHPx0qyXylpi8RXr 8og+21kUGlztuzxQ4uyaN12C6YDYiky6qA+hR7f+g40AWrzhWQ8w/DTFm1jdPvk+U1pzTA yBorRtOhOJbn70EsBISZai4E3wvx7EDvicRIK4xCrbkVMAGbVg0nEF1TaYa8LdlxBh52WP QWJpYcE2xnYq6ajR9sH/4DK2FQRHuSkhYygmR876T5b8eOOHYCj440Xzki3ZnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725625158; 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=YIFKPcNZRKdcKTXSxV2RiE7fYe4pIz6mdc/05jw/wYQ=; b=Fgzl4pBSZnWl0JzxBXf8JeA2K3mQ2xd+IvOHguqelIsRS10+9gx2k+otYjo2S/imNlkqJv ut56BI54wYTDg9FjQo33EDU8yQWqIC2MNg1H8fV4WqWyHNnC4YWpMpAb5KeQCJdk31bO6k AE/r6dl3wZtVtC4gSAY4gWE/xyagwX7hOQDHB3PnTWxUpJjnL6CSaUzpiL/5J50H8TIhLX 3LDpRtsfpo66DU8Gckp80qyAPi80DJo0snBtW2FMnR7xNpr/HmbjDhhfz8c6JwRnPwW9VB 3Nj4tuZAJsaOTyQmKnOIlRczHODTvS4NBeqvEHAviqyUROvBeseNmSv53TvXcg== 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 4X0Zz974GHzrXX; Fri, 6 Sep 2024 12:19:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 486CJHE9062280; Fri, 6 Sep 2024 12:19:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 486CJHvJ062277; Fri, 6 Sep 2024 12:19:17 GMT (envelope-from git) Date: Fri, 6 Sep 2024 12:19:17 GMT Message-Id: <202409061219.486CJHvJ062277@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: e998c9f1bb39 - stable/14 - bsd.symver.mk: pass $CFLAGS to $CPP invocation 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/stable/14 X-Git-Reftype: branch X-Git-Commit: e998c9f1bb39301a3408a47004ee6747698a9c8d Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=e998c9f1bb39301a3408a47004ee6747698a9c8d commit e998c9f1bb39301a3408a47004ee6747698a9c8d Author: Ed Maste AuthorDate: 2024-05-24 16:15:17 +0000 Commit: Ed Maste CommitDate: 2024-09-05 14:50:10 +0000 bsd.symver.mk: pass $CFLAGS to $CPP invocation This allows us to support symbols optionally available based on configuration, not just on compiler built-in #defines. Reviewed by: brooks, jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45346 (cherry picked from commit aa0bc761d245d2ea1e4b7a0343715cc76859d5da) --- share/mk/bsd.symver.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.symver.mk b/share/mk/bsd.symver.mk index a1c6e62fba76..d0b63206d8fe 100644 --- a/share/mk/bsd.symver.mk +++ b/share/mk/bsd.symver.mk @@ -44,7 +44,7 @@ _vgen= ${path}/${VERSION_GEN} # Run the symbol maps through the C preprocessor before passing # them to the symbol version generator. ${VERSION_MAP}: ${VERSION_DEF} ${_vgen} ${SYMBOL_MAPS} - cat ${SYMBOL_MAPS} | ${CPP} - - \ + cat ${SYMBOL_MAPS} | ${CPP} ${CFLAGS} - - \ | awk -v vfile=${VERSION_DEF} -f ${_vgen} > ${.TARGET} .endif # !empty(VERSION_DEF) && !empty(SYMBOL_MAPS) .endif # !target(____)