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>
This commit is contained in:
Stephan Hartmann 2021-05-17 12:42:06 +02:00 committed by Lars Wendler
parent efa14d3374
commit 1b0667d27b
No known key found for this signature in database
GPG Key ID: 571DD2D0343C6039
4 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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