Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnome: don't let fortify defines into the g-ir-scanner after strippin…
…g -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 mesonbuild#9161
- Loading branch information