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 EB38215802E for ; Tue, 2 Jul 2024 21:01:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CC61E2B2C; Tue, 2 Jul 2024 21:01:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F0DCCE2B2C for ; Tue, 2 Jul 2024 21:01:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B43C434302A for ; Tue, 2 Jul 2024 21:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22A1C1D9E for ; Tue, 2 Jul 2024 21:01:23 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1719937326.daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2.chewi@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2 X-VCS-Branch: master Date: Tue, 2 Jul 2024 21:01:23 +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: 9049a2d1-aa6f-4096-a6e1-9918d2ce0a69 X-Archives-Hash: 9ee0b1848bd7a0151d35cfc0525070e8 commit: daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2 Author: James Le Cuirot gentoo org> AuthorDate: Tue Jul 2 16:22:06 2024 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Jul 2 16:22:06 2024 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=daec387a crossdev: Configure the cet USE flag to match the profiles We especially don't want to enable it on i?86. Signed-off-by: James Le Cuirot gentoo.org> crossdev | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/crossdev b/crossdev index 020d17c..a02016a 100755 --- a/crossdev +++ b/crossdev @@ -499,6 +499,21 @@ parse_target() { GMASK+=" default-stack-clash-protection ssp hardened -nossp" GFORCE+=" nossp" fi + + # Configure the cet USE flag to match the profiles. We especially + # don't want to enable it on i?86. + case ${CTARGET} in + x86_64-*) + BFORCE+=" cet" + GUSE+=" cet" + LUSE+=" cet" + ;; + *) + BMASK+=" cet" + GMASK+=" cet" + LMASK+=" cet" + ;; + esac } parse_repo_config() {