If CC=clang, it requires the o-flag-munging flag to pass a compile phase.
Bug: https://bugs.gentoo.org/629410
Closes: https://github.com/gentoo/gentoo/pull/7766
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Force building libc++ over libcxxrt.
# We obviously need clang
sys-devel/llvm clang static-analyzer default-compiler-rt default-libcxx
+
+# o-flag-munging is required to compile dev-libs/libgcrypt with clang.
+# https://bugs.gentoo.org/629410
+dev-libs/libgcrypt o-flag-munging