dev-python/PyQt6: respect CPPFLAGS

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-04-22 02:51:04 -04:00
parent 4a5ca3823a
commit 3ef7d44bd6
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -78,7 +78,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
pyqt-use_enable() {
local state=$(usex ${1} --enable= --disable=)
+2
View File
@@ -79,7 +79,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
pyqt-use_enable() {
local state=$(usex ${1} --enable= --disable=)