From nobody Mon Feb 12 18:53:33 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 4TYYWf1ynsz5BMWY; Mon, 12 Feb 2024 18:53:34 +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 4TYYWf1XJhz4mGy; Mon, 12 Feb 2024 18:53:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707764014; 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=1D5GabisIo1bJH23GMziLPkaC5EvqSohPmWzbewmh2g=; b=qm4+4IKDX7FlYCvnD5xDoBFvqKzkf7r1M3dbJ08igc804MMYpwn8lg9P5qf964jQgPJi8y Q+YKGMGVfvcCP4W/sLCpOHQiV1zsrBGZpiPskDpMyAmitEhIfLmgDxp0Vd1mbdd2klChAc aCUBcypFColdr8kGvFmHmj0yLVYSI/7nFhm+iesPmmzA9vadu+vtwvtKTexnEti/fUoxwe rcz5ra9Wm0nX2ocviiNYOI+udSkmeTl1/XHEPEEnIZjsnlcK0R6g9GdLySioFyXVLIDPNP pmCJGQW1pK0DcUBrwZR/tYuAb3ZpDKNq/xDf/QzyvG5jZepRa2MMbrfU/bwIiQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707764014; a=rsa-sha256; cv=none; b=NBXTczWdHHIi1ar47Ac3rWkgnOhaWUAyaShLXlFucI7DlGIzPCYFe3JtEsc1cVDkZ3XDVl DWcg+B8loNdv/dB+9WhmM7jOud7Upn9TVddpYKNt2DCllNAA5iy6CpvZfC5kti/KxOi9Zp xOgwTlwFUrnGVXKJnJ/Teju6lx2fa9EJzuBvGTMSyC6Y5XjPhpTVBSrRaDd/nYkND+ilri g0j5sj0Wk+WU4ZLe3CQYkHq89xG+HAGCKR2aVaYVx0V8U6SqN1px3BK/jabqdc4E3p1t1u 2tsPLuhk9VV3+rSuj8MphL3/XN0mDO+gLbBTZR+7EbR2layej2anTOyU86jb3Q== 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=1707764014; 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=1D5GabisIo1bJH23GMziLPkaC5EvqSohPmWzbewmh2g=; b=VvqEPc+DN5seIIuwFUTjesYEv3ZnEqZqwvDhso++4QPDWmwgpIRoTYopX8fMLtJtQWhMQ4 T/uAGcoi6msLhmJFV2+QXkwIzNb8D/UQVxf+Usg2HO8CCDILhtUZwyAbmXifksBWNRr1Yw 44OGbXMz1LqDIDHDFtvBt/Zm2wEF/5OjNmUtxlGtdJ677xNO12WjridPvNsDjhDL3JJJSi +NinUR4RO1nYD1EitfpaMQ4VMQ+lNyNdPSMK+XOsINJcPbpmoEizaZY+Fi7LW9SEgHuHXU tIAKKQWHATnN7bKnSoBZhFPHTTGgNm7osblg0Nf6vhqa8MrJQ4gQwR5wQwthRg== 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 4TYYWf0bzkzjQW; Mon, 12 Feb 2024 18:53:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41CIrXnj030269; Mon, 12 Feb 2024 18:53:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41CIrXv1030266; Mon, 12 Feb 2024 18:53:33 GMT (envelope-from git) Date: Mon, 12 Feb 2024 18:53:33 GMT Message-Id: <202402121853.41CIrXv1030266@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 9622dc05ae11 - main - zfsbootcfg: Remove bogus CFLAGS 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9622dc05ae11b145f1602fd0bb1fd6509c074b00 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9622dc05ae11b145f1602fd0bb1fd6509c074b00 commit 9622dc05ae11b145f1602fd0bb1fd6509c074b00 Author: Warner Losh AuthorDate: 2024-02-12 18:44:22 +0000 Commit: Warner Losh CommitDate: 2024-02-12 18:44:22 +0000 zfsbootcfg: Remove bogus CFLAGS When using the zfsbootcfg library, we're talking only to it, not to the rest of ZFS, nor are we using anything that needs access to the ZFS compilation environment. Remove all the compiling OpenZFS itself flags. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D43823 --- sbin/zfsbootcfg/Makefile | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sbin/zfsbootcfg/Makefile b/sbin/zfsbootcfg/Makefile index 3d5589dcee48..1833fc542ce0 100644 --- a/sbin/zfsbootcfg/Makefile +++ b/sbin/zfsbootcfg/Makefile @@ -1,19 +1,6 @@ - PROG= zfsbootcfg MAN= zfsbootcfg.8 LIBADD+=zfsbootenv -CFLAGS+= -DIN_BASE -CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include -CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd -CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include -CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd -CFLAGS+= -I${SRCTOP}/sys -CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include -CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include -CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h -CFLAGS+= -DHAVE_ISSETUGID -CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h - .include