diff --git a/dev-python/PyQt6/PyQt6-6.4.2.ebuild b/dev-python/PyQt6/PyQt6-6.4.2.ebuild index cf5de2a490c4b..4e892b399454a 100644 --- a/dev-python/PyQt6/PyQt6-6.4.2.ebuild +++ b/dev-python/PyQt6/PyQt6-6.4.2.ebuild @@ -77,8 +77,7 @@ src_prepare() { PATH=${T}/cxx:${PATH} } -src_configure() { - append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet" +python_configure_all() { append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) append-cxxflags ${CPPFLAGS} # respect CPPFLAGS diff --git a/dev-python/PyQt6/PyQt6-6.5.0.ebuild b/dev-python/PyQt6/PyQt6-6.5.0.ebuild index a731a68b3575c..36a47c507bf3e 100644 --- a/dev-python/PyQt6/PyQt6-6.5.0.ebuild +++ b/dev-python/PyQt6/PyQt6-6.5.0.ebuild @@ -78,8 +78,7 @@ src_prepare() { PATH=${T}/cxx:${PATH} } -src_configure() { - append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet" +python_configure_all() { append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) append-cxxflags ${CPPFLAGS} # respect CPPFLAGS