From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
Date: Sun, 5 Dec 2021 11:19:09 +0000 (UTC) [thread overview]
Message-ID: <1638703128.3ba9a05880fe55a52b2590b39263d5f0e77dea19.dilfridge@gentoo> (raw)
commit: 3ba9a05880fe55a52b2590b39263d5f0e77dea19
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 5 11:14:20 2021 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> 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 <dilfridge <AT> 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
next reply other threads:[~2021-12-05 11:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-05 11:19 Andreas K. Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-09-23 21:12 [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/ Andreas K. Hüttel
2022-09-16 0:55 Sam James
2022-09-16 0:35 Sam James
2022-09-10 16:21 Sam James
2022-09-10 3:52 Sam James
2022-07-18 21:50 Andreas K. Hüttel
2022-03-19 17:58 Andreas K. Hüttel
2021-12-11 16:01 Andreas K. Hüttel
2021-12-05 15:32 Andreas K. Hüttel
2021-12-05 11:19 Andreas K. Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1638703128.3ba9a05880fe55a52b2590b39263d5f0e77dea19.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox