summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-03-20 19:56:27 +0100
committerFabian Groffen <grobian@gentoo.org>2016-03-20 19:59:17 +0100
commit83375b84cddaac83a23191f006e741ce038c3175 (patch)
treee9812b2f85a1c704b970684f9cf76f99d428f7dc /dev-libs/liboil
parentpackage.mask: Masked claws-mail plugins (diff)
downloadgentoo-83375b84cddaac83a23191f006e741ce038c3175.tar.gz
gentoo-83375b84cddaac83a23191f006e741ce038c3175.tar.bz2
gentoo-83375b84cddaac83a23191f006e741ce038c3175.zip
dev-libs/liboil: fix compilation with Clang on Darwin, bug #576646
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/liboil')
-rw-r--r--dev-libs/liboil/liboil-0.3.17-r2.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-libs/liboil/liboil-0.3.17-r2.ebuild b/dev-libs/liboil/liboil-0.3.17-r2.ebuild
index a56cf8e92aa..efb42eb1dd9 100644
--- a/dev-libs/liboil/liboil-0.3.17-r2.ebuild
+++ b/dev-libs/liboil/liboil-0.3.17-r2.ebuild
@@ -42,6 +42,9 @@ src_configure() {
filter-flags -O?
append-flags -O2
+ # For use with Clang, which is the only compiler on OSX, bug #576646
+ [[ ${CHOST} == *-darwin* ]] && append-flags -fheinous-gnu-extensions
+
autotools-multilib_src_configure
}