summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a56cf8e92aa3..efb42eb1dd9f 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
}