diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-23 18:48:55 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-08-23 21:01:16 -0400 |
commit | 1dce556dc25c15eeaad4847c5e49fb5ee5eda8cb (patch) | |
tree | 2f96f82859efc50f4429f18d6f7641045d99142b /mesonbuild/interpreter/kwargs.py | |
parent | b3c240989bde292e561b7f905f008d9da4aa6668 (diff) | |
download | meson-1dce556dc25c15eeaad4847c5e49fb5ee5eda8cb.zip meson-1dce556dc25c15eeaad4847c5e49fb5ee5eda8cb.tar.gz meson-1dce556dc25c15eeaad4847c5e49fb5ee5eda8cb.tar.bz2 |
gnome: don't let fortify defines into the g-ir-scanner after stripping -O
The tool needs to run the preprocessor (but does not actually produce
compiled outputs), and meanwhile ignores lots of flags it doesn't think
it needs. In the case of -D_FORTIFY_SOURCE=... this is only valid if -O
is there too, but otherwise spits out confusing warnings.
The warnings are spurious and can be safely ignored, but in this case
let's go the extra mile and fix g-ir-scanner's upstream bug by removing
the fortify flag first.
Fixes #9161
Diffstat (limited to 'mesonbuild/interpreter/kwargs.py')
0 files changed, 0 insertions, 0 deletions