summaryrefslogtreecommitdiff
path: root/dev-python/PyQt6-WebEngine
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-04-22 01:53:43 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-04-22 02:51:05 -0400
commit86aff0f619fc2aae1729e013c17b9acfcbf876a7 (patch)
treec6705ddf3c98597b4ac553b7ad53b5ba9643b099 /dev-python/PyQt6-WebEngine
parentb3c22cd2a6cb25b4efeb55f9ab2a73f10689bec4 (diff)
downloadgentoo-86aff0f619fc2aae1729e013c17b9acfcbf876a7.tar.gz
gentoo-86aff0f619fc2aae1729e013c17b9acfcbf876a7.tar.bz2
gentoo-86aff0f619fc2aae1729e013c17b9acfcbf876a7.zip
dev-python/PyQt6-WebEngine: respect CPPFLAGS
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/PyQt6-WebEngine')
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild2
-rw-r--r--dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
index 705687cb3f08..5ee2a0f1316c 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
@@ -43,7 +43,9 @@ src_prepare() {
}
src_configure() {
+ append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
+ append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
DISTUTILS_ARGS=(
--jobs=$(makeopts_jobs)
diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
index 063d08fadcca..bd4ef8fb4ddb 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
@@ -43,7 +43,9 @@ src_prepare() {
}
src_configure() {
+ append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
+ append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
DISTUTILS_ARGS=(
--jobs=$(makeopts_jobs)