From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5AD7158086 for ; Sun, 5 Dec 2021 11:19:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02E51E07FE; Sun, 5 Dec 2021 11:19:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44F81E07FE for ; Sun, 5 Dec 2021 11:19:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D073B343592 for ; Sun, 5 Dec 2021 11:19:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FBB31F2 for ; Sun, 5 Dec 2021 11:19:09 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1638703128.3ba9a05880fe55a52b2590b39263d5f0e77dea19.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/features/clang/eapi profiles/features/clang/make.defaults X-VCS-Directories: profiles/features/clang/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 3ba9a05880fe55a52b2590b39263d5f0e77dea19 X-VCS-Branch: master Date: Sun, 5 Dec 2021 11:19:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 05730115-1bfa-4136-bf31-06f50588d420 X-Archives-Hash: 2da63f6503f0d7fd5044ea41cfa39840 commit: 3ba9a05880fe55a52b2590b39263d5f0e77dea19 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Dec 5 11:14:20 2021 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Dec 5 11:18:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba9a058 profiles: minor fixups to clang feature Signed-off-by: Andreas K. Hüttel gentoo.org> profiles/features/clang/eapi | 2 +- profiles/features/clang/make.defaults | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/profiles/features/clang/eapi b/profiles/features/clang/eapi index 7f8f011eb73d..7ed6ff82de6b 100644 --- a/profiles/features/clang/eapi +++ b/profiles/features/clang/eapi @@ -1 +1 @@ -7 +5 diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults index 014816b37253..a2235ff4a494 100644 --- a/profiles/features/clang/make.defaults +++ b/profiles/features/clang/make.defaults @@ -1,4 +1,9 @@ -# use Clang as a primary compiler +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# this is for now highly experimental -dilfridge + +# use clang as the primary compiler CC="clang" CXX="clang++" @@ -12,7 +17,7 @@ LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--a SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2" SOME_HARDENING_LDFLAGS="-Wl,-z,relro,-z,now -pie" -# enable some hardening by default +# enable hardening by default, cf. gcc[pie,ssp] CFLAGS="${CFLAGS} ${SOME_HARDENING_FLAGS}" CXXFLAGS="${CXXFLAGS} ${SOME_HARDENING_FLAGS}" LDFLAGS="${LDFLAGS} ${SOME_HARDENING_LDFLAGS}" @@ -33,7 +38,7 @@ ADDR2LINE="llvm-addr2line" # bootstrap USE for stage1 # curl needed by cmake -BOOTSTRAP_USE="$BOOTSTRAP_USE ssl curl_ssl_openssl" +BOOTSTRAP_USE="${BOOTSTRAP_USE} ssl curl_ssl_openssl" # Clang needs this BOOTSTRAP_USE="${BOOTSTRAP_USE} python_single_target_python3_9" @@ -48,7 +53,6 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} compiler-rt clang libunwind" BOOTSTRAP_USE="${BOOTSTRAP_USE} default-compiler-rt default-lld default-libcxx llvm-libunwind" # sys-devel/clang-runtime -# sanitizers are disabled for now BOOTSTRAP_USE="${BOOTSTRAP_USE} libcxx -sanitize" # sys-libs/libcxxabi