aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/not-overwrite-cflags-cxxflags.patch
blob: 67f7949b386163e964579602b8d9dd635b497414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Not overwrite CFLAGS and CXXFLAGS. It also avoid buildpaths qa issue:

  WARNING: python3-wxgtk4-4.2.0-r0 do_package_qa: QA Issue: File
  /usr/lib64/python3.11/site-packages/wx/.debug/_xml.cpython-311-aarch64-linux-gnu.so
  in package python3-wxgtk4-dbg contains reference to TMPDIR [buildpaths]

Upstream-Status: Pending [oe specific]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 wscript | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wscript b/wscript
index 067b307..50d96d1 100644
--- a/wscript
+++ b/wscript
@@ -195,8 +195,8 @@ def configure(conf):
         cfg.finishSetup(conf.env.wx_config, conf.env.debug,
                         'mingw32' if isWindows and not conf.env.use_msvc else None)
 
-        conf.env.CFLAGS = cfg.cflags[:]
-        conf.env.CXXFLAGS = cfg.cxxflags[:]
+        #conf.env.CFLAGS = cfg.cflags[:]
+        #conf.env.CXXFLAGS = cfg.cxxflags[:]
         conf.env.CFLAGS_WX = list()
         conf.env.CXXFLAGS_WX = list()
         conf.env.CFLAGS_WXPY = list()