commit:     d9fdc154795062917c3cec8476a0c7dfe76272da
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 29 13:24:42 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Nov 29 13:25:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9fdc154

profiles/prefix/darwin/macos: fix libgcrypt compilation when using Clang

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 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 84034d863e3..ef8f6e2272c 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 <[email protected]> (29 Nov 2018)
+# libgcrypt relies on GCC pragma to disable optimisation, but we use Clang
+dev-libs/libgcrypt o-flag-munging
+
 # Fabian Groffen <[email protected]> (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 84034d863e3..ef8f6e2272c 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 <[email protected]> (29 Nov 2018)
+# libgcrypt relies on GCC pragma to disable optimisation, but we use Clang
+dev-libs/libgcrypt o-flag-munging
+
 # Fabian Groffen <[email protected]> (20 Dec 2016)
 # Force the host target to avoid dependency hell
 sys-devel/clang llvm_targets_X86

Reply via email to