diff options
author | James Le Cuirot <chewi@gentoo.org> | 2024-07-02 17:22:06 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-07-02 17:22:06 +0100 |
commit | daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2 (patch) | |
tree | 43116f1da46a9b50129dfedd4c0e50cb4b39589d /crossdev | |
parent | crossdev: Force static-libs for -gnu targets (diff) | |
download | crossdev-daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2.tar.gz crossdev-daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2.tar.bz2 crossdev-daec387a1c91d5a0b9f94ee00ef95f63a9a6d9d2.zip |
crossdev: Configure the cet USE flag to match the profiles20240702
We especially don't want to enable it on i?86.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'crossdev')
-rwxr-xr-x | crossdev | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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() { |