From d9fdc154795062917c3cec8476a0c7dfe76272da Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 29 Nov 2018 14:24:42 +0100 Subject: [PATCH] profiles/prefix/darwin/macos: fix libgcrypt compilation when using Clang Signed-off-by: Fabian Groffen --- profiles/prefix/darwin/macos/arch/x64/package.use.force | 6 +++++- profiles/prefix/darwin/macos/arch/x86/package.use.force | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/profiles/prefix/darwin/macos/arch/x64/package.use.force b/profiles/prefix/darwin/macos/arch/x64/package.use.force index 84034d863e33..ef8f6e2272cd 100644 --- a/profiles/prefix/darwin/macos/arch/x64/package.use.force +++ b/profiles/prefix/darwin/macos/arch/x64/package.use.force @@ -1,6 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Fabian Groffen (29 Nov 2018) +# libgcrypt relies on GCC pragma to disable optimisation, but we use Clang +dev-libs/libgcrypt o-flag-munging + # Fabian Groffen (20 Dec 2016) # Force the host target to avoid dependency hell sys-devel/clang llvm_targets_X86 diff --git a/profiles/prefix/darwin/macos/arch/x86/package.use.force b/profiles/prefix/darwin/macos/arch/x86/package.use.force index 84034d863e33..ef8f6e2272cd 100644 --- a/profiles/prefix/darwin/macos/arch/x86/package.use.force +++ b/profiles/prefix/darwin/macos/arch/x86/package.use.force @@ -1,6 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Fabian Groffen (29 Nov 2018) +# libgcrypt relies on GCC pragma to disable optimisation, but we use Clang +dev-libs/libgcrypt o-flag-munging + # Fabian Groffen (20 Dec 2016) # Force the host target to avoid dependency hell sys-devel/clang llvm_targets_X86 -- 2.26.2