summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-05-23 16:26:44 +0200
committerEli Schwartz <eschwartz93@gmail.com>2025-05-23 13:55:13 -0400
commit6cf312022f431008d2519e347b630b4ab2ce227c (patch)
tree80d155c05786a1d65dd2c17ba3143bc60d4a151f /.github
parentecf29efef43064e9edb54ddc1efcc3da8281cc47 (diff)
downloadmeson-6cf312022f431008d2519e347b630b4ab2ce227c.tar.gz
gnome: initialize CFLAGS environment variable to linker arguments
The CFLAGS environment variable is used for g-ir-scanner's linking pass, It is emptied since commit 237513dff ("modules/gnome, modules/Python: Allow injecting RPATH flags through LDFLAGS if needed", 2025-04-09); which could even be considered a bugfix if it didn't break Fedora quite badly. I could not write a testcase, but the culprit seems to be the -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 that Fedora places in CFLAGS. The file contains *cc1_options: + %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} and the lack of -fPIE option upsets the linker. Fix by priming the contents of the CFLAGS variable with the c_link_args being used for the build. Fixes: #14631 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions