Append -fno-integrated-as to CFLAGS when building with clang and when
ABI is x86 to prevent breakage.
Closes: https://bugs.gentoo.org/698164
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
S="${WORKDIR}"/${MY_P}
fi
-inherit python-any-r1 cmake-multilib
+inherit toolchain-funcs python-any-r1 cmake-multilib
DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader"
)"
multilib_src_configure() {
+ # Integrated clang assembler doesn't work with x86 - Bug #698164
+ if [[ tc-is-clang && ${ABI} == x86 ]]; then
+ append-cflags -fno-integrated-as
+ fi
+
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=True
-DBUILD_TESTS=False