summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-05-17 12:42:06 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-05-17 13:22:36 +0200
commit1b0667d27b8da20f52051cd3a7c295264d20f777 (patch)
tree7625d0ce39e2618c8912fc75ce763db7b9c18f27 /media-libs/harfbuzz
parentmedia-libs/libsdl: sparc stable wrt bug #692388 (diff)
downloadgentoo-1b0667d27b8da20f52051cd3a7c295264d20f777.tar.gz
gentoo-1b0667d27b8da20f52051cd3a7c295264d20f777.tar.bz2
gentoo-1b0667d27b8da20f52051cd3a7c295264d20f777.zip
media-libs/harfbuzz: filter unsupported flags
harfbuzz does not want to link with libstdc++. Therefore -fno-exceptions and -fno-threadsafe-statics are passed to the C++ compiler. With autotools these flags were appended after user CXXFLAGS. However, with meson user CXXFLAGS are always appended and can overwrite -fno-exceptions and -fno-threadsafe-statics. Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20849 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/harfbuzz')
-rw-r--r--media-libs/harfbuzz/harfbuzz-2.7.4.ebuild3
-rw-r--r--media-libs/harfbuzz/harfbuzz-2.8.0.ebuild3
-rw-r--r--media-libs/harfbuzz/harfbuzz-2.8.1.ebuild3
-rw-r--r--media-libs/harfbuzz/harfbuzz-9999.ebuild3
4 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild b/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild
index 0a5cf370b8b6..faa0655ca207 100644
--- a/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-2.7.4.ebuild
@@ -63,6 +63,9 @@ src_prepare() {
# bug 618772
append-cxxflags -std=c++14
+ # bug 790359
+ filter-flags -fexceptions -fthreadsafe-statics
+
# bug 762415
local pyscript
for pyscript in $(find -type f -name "*.py") ; do
diff --git a/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild b/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild
index dd5ebd99dc19..48efc9f4fcbc 100644
--- a/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-2.8.0.ebuild
@@ -63,6 +63,9 @@ src_prepare() {
# bug 618772
append-cxxflags -std=c++14
+ # bug 790359
+ filter-flags -fexceptions -fthreadsafe-statics
+
# bug 762415
local pyscript
for pyscript in $(find -type f -name "*.py") ; do
diff --git a/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild b/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild
index dd5ebd99dc19..48efc9f4fcbc 100644
--- a/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-2.8.1.ebuild
@@ -63,6 +63,9 @@ src_prepare() {
# bug 618772
append-cxxflags -std=c++14
+ # bug 790359
+ filter-flags -fexceptions -fthreadsafe-statics
+
# bug 762415
local pyscript
for pyscript in $(find -type f -name "*.py") ; do
diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild
index dd5ebd99dc19..48efc9f4fcbc 100644
--- a/media-libs/harfbuzz/harfbuzz-9999.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild
@@ -63,6 +63,9 @@ src_prepare() {
# bug 618772
append-cxxflags -std=c++14
+ # bug 790359
+ filter-flags -fexceptions -fthreadsafe-statics
+
# bug 762415
local pyscript
for pyscript in $(find -type f -name "*.py") ; do