From 3ef7d44bd6ac080cae78a6bf3a8c6748ddc19fc7 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 22 Apr 2023 01:54:08 -0400 Subject: dev-python/PyQt6: respect CPPFLAGS Signed-off-by: Ionen Wolkens --- dev-python/PyQt6/PyQt6-6.4.2.ebuild | 2 ++ dev-python/PyQt6/PyQt6-6.5.0.ebuild | 2 ++ 2 files changed, 4 insertions(+) (limited to 'dev-python/PyQt6') diff --git a/dev-python/PyQt6/PyQt6-6.4.2.ebuild b/dev-python/PyQt6/PyQt6-6.4.2.ebuild index ccee7f8cdba7..cf5de2a490c4 100644 --- a/dev-python/PyQt6/PyQt6-6.4.2.ebuild +++ b/dev-python/PyQt6/PyQt6-6.4.2.ebuild @@ -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=) diff --git a/dev-python/PyQt6/PyQt6-6.5.0.ebuild b/dev-python/PyQt6/PyQt6-6.5.0.ebuild index 0944c1869eab..a731a68b3575 100644 --- a/dev-python/PyQt6/PyQt6-6.5.0.ebuild +++ b/dev-python/PyQt6/PyQt6-6.5.0.ebuild @@ -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=) -- cgit v1.2.3