From 9505caeec7f7ad9c7954588e19aef5e8ce5d4058 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 17 Feb 2023 13:23:51 +0000 Subject: Adding metadata --- dev-python/wxpython/files/wxpython-4.2.0-flags.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dev-python/wxpython/files/wxpython-4.2.0-flags.patch (limited to 'dev-python/wxpython/files/wxpython-4.2.0-flags.patch') diff --git a/dev-python/wxpython/files/wxpython-4.2.0-flags.patch b/dev-python/wxpython/files/wxpython-4.2.0-flags.patch new file mode 100644 index 000000000000..12af1e211b4a --- /dev/null +++ b/dev-python/wxpython/files/wxpython-4.2.0-flags.patch @@ -0,0 +1,16 @@ +--- a/buildtools/config.py ++++ b/buildtools/config.py +@@ -236,9 +236,12 @@ class Configuration(object): + for lst in [self.cflags, self.cxxflags]: + lst.append('-O3') + ++ self.cflags += os.environ.get('CFLAGS', '').split() ++ self.cxxflags += os.environ.get('CXXFLAGS', '').split() ++ + lflags = self.getWxConfigValue('--libs') + self.MONOLITHIC = (lflags.find("_xrc") == -1) +- self.lflags = lflags.split() ++ self.lflags = lflags.split() + os.environ.get('LDFLAGS', '').split() + + self.WXBASENAME = self.getWxConfigValue('--basename') + self.WXRELEASE = self.getWxConfigValue('--release') -- cgit v1.3.1