From nobody Sat Dec 25 11:55:41 2021 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 27D2518F3056; Sat, 25 Dec 2021 11:55:48 +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 4JLj730PVWz4lCV; Sat, 25 Dec 2021 11:55:42 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 79A3816CCD; Sat, 25 Dec 2021 11:55:41 +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 1BPBtfXn006636; Sat, 25 Dec 2021 11:55:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BPBtfV6006635; Sat, 25 Dec 2021 11:55:41 GMT (envelope-from git) Date: Sat, 25 Dec 2021 11:55:41 GMT Message-Id: <202112251155.1BPBtfV6006635@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: c206fcf91165 - stable/12 - clang: Fix inverted condition in llvm.build.mk 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: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: c206fcf91165d4830c05cc2216045d4df011a463 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640433345; 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=R17fH+7StuCAhFCRWXlMgx0qavexbDoWBnPtFZRptIo=; b=s71bVz3RHeNLDOacMJflCK31Khab9aB3OrViFqTw1qCgEL3Gx9BLnk1J6eyltcmWbxLgui Y6GgfTM+JbWfhPjkl99NodIr95C0flabuJ4iXoP4nVrRdJtTxtKc4R7QSLy1EMl4zQqFz4 7h1bGw27q09l6twOx5zb5Sq4HgJrg6cr7XFyBbPTOYvCg5pymXUTiSbEcX055lmTefw3q4 qEIz5RPSFU1BPzgGIkqB2NHwx6FX2M65ZRVH0wdEv0bHANeLdJ90iWox+ZuIrWcfotJjZX j6BrlXKDTri9A/d1xuW1ti7hh7d92ZjIJ6KQJ3AHRubxlUAA4RSXHJ4zsz++TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640433345; a=rsa-sha256; cv=none; b=H1iH9q9+VYhsfCkNI7CUKX/0s7rDwFLacyAykEiluHTKY7Mp8KyVDvG6hJBdO8+uOeWnra 2HPVPEvObfziWuW6MDIOczOO/SenJj6/73VRXo4O7bM99QKSc1dtlO5IMePadBeMqnEW+n R0dkjrSFjwUMMHGbTfRnvMQUNAG3EynpmqNm9RF9LAalqD2ETjmAbSQ58WSjlAxtt2YUsx NC8YsnTS6Y0gNnkrnqTry3EG8zJIcqKct+bmAFRSjn9ghEjv1iGxp8maVjKzdI2KTcyWW9 ox0cBzI62OKeyby2kR9Y2VwNOPJyFaTm0KtlmK6em7su9FFSCeZXxIWE6xkM4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=c206fcf91165d4830c05cc2216045d4df011a463 commit c206fcf91165d4830c05cc2216045d4df011a463 Author: Jessica Clarke AuthorDate: 2021-08-12 22:53:30 +0000 Commit: Dimitry Andric CommitDate: 2021-12-25 11:51:15 +0000 clang: Fix inverted condition in llvm.build.mk Fixes: 31ba4ce8898f ("Allow bootstrapping llvm-tblgen on macOS and Linux") MFC after: 1 week (cherry picked from commit 5ff5d1177bc66f1c2a0a6ee4d0ffa128d32e1dad) --- lib/clang/llvm.build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk index 277cbd77de0b..dd1d5068efda 100644 --- a/lib/clang/llvm.build.mk +++ b/lib/clang/llvm.build.mk @@ -117,10 +117,10 @@ CXXSTD?= c++14 CXXFLAGS+= -fno-exceptions CXXFLAGS+= -fno-rtti .if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING) +CXXFLAGS.clang+= -stdlib=libc++ +.else # Building on macOS/Linux needs the real sysctl() not the bootstrap tools stub. CFLAGS+= -DBOOTSTRAPPING_WANT_NATIVE_SYSCTL -.else -CXXFLAGS.clang+= -stdlib=libc++ .endif .if defined(BOOTSTRAPPING) && ${.MAKE.OS} == "Linux" LIBADD+= dl