Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | Not overwrite CFLAGS and CXXFLAGS. It also avoid buildpaths qa issue: |
| 2 | |
| 3 | WARNING: python3-wxgtk4-4.2.0-r0 do_package_qa: QA Issue: File |
| 4 | /usr/lib64/python3.11/site-packages/wx/.debug/_xml.cpython-311-aarch64-linux-gnu.so |
| 5 | in package python3-wxgtk4-dbg contains reference to TMPDIR [buildpaths] |
| 6 | |
| 7 | Upstream-Status: Pending [oe specific] |
| 8 | |
| 9 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 10 | --- |
| 11 | wscript | 4 ++-- |
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 13 | |
| 14 | diff --git a/wscript b/wscript |
| 15 | index 067b307..50d96d1 100644 |
| 16 | --- a/wscript |
| 17 | +++ b/wscript |
| 18 | @@ -195,8 +195,8 @@ def configure(conf): |
| 19 | cfg.finishSetup(conf.env.wx_config, conf.env.debug, |
| 20 | 'mingw32' if isWindows and not conf.env.use_msvc else None) |
| 21 | |
| 22 | - conf.env.CFLAGS = cfg.cflags[:] |
| 23 | - conf.env.CXXFLAGS = cfg.cxxflags[:] |
| 24 | + #conf.env.CFLAGS = cfg.cflags[:] |
| 25 | + #conf.env.CXXFLAGS = cfg.cxxflags[:] |
| 26 | conf.env.CFLAGS_WX = list() |
| 27 | conf.env.CXXFLAGS_WX = list() |
| 28 | conf.env.CFLAGS_WXPY = list() |