summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2019-10-21 23:09:51 -0400
committerNick Sarnie <sarnex@gentoo.org>2019-10-21 23:09:51 -0400
commit23f2b23e23376333c6425187e3f70246457527a3 (patch)
tree1c73be3a07ca44a938275c291fb6f6a84b61263d /media-libs/vulkan-loader
parentsys-power/thermald: fix build failure on newer gcc (diff)
downloadgentoo-23f2b23e23376333c6425187e3f70246457527a3.tar.gz
gentoo-23f2b23e23376333c6425187e3f70246457527a3.tar.bz2
gentoo-23f2b23e23376333c6425187e3f70246457527a3.zip
media-libs/vulkan-loader: Fix build
Closes: https://bugs.gentoo.org/698230 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'media-libs/vulkan-loader')
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild2
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild
index 7b03900c5666..644dce6b3439 100644
--- a/media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild
@@ -41,7 +41,7 @@ DEPEND="${PYTHON_DEPS}
multilib_src_configure() {
# Integrated clang assembler doesn't work with x86 - Bug #698164
- if [[ tc-is-clang && ${ABI} == x86 ]]; then
+ if tc-is-clang && [[ ${ABI} == x86 ]]; then
append-cflags -fno-integrated-as
fi
diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
index 7b03900c5666..644dce6b3439 100644
--- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
@@ -41,7 +41,7 @@ DEPEND="${PYTHON_DEPS}
multilib_src_configure() {
# Integrated clang assembler doesn't work with x86 - Bug #698164
- if [[ tc-is-clang && ${ABI} == x86 ]]; then
+ if tc-is-clang && [[ ${ABI} == x86 ]]; then
append-cflags -fno-integrated-as
fi