raulcd opened a new pull request, #46366:
URL: https://github.com/apache/arrow/pull/46366
### Rationale for this change
Packaging jobs for almalinux-9 and centos-9 are currently failing because
they disable PIE by default with:
```
/usr/bin/ld:
/build/rpmbuild/BUILD/apache-arrow-21.0.0.dev42/c_glib/build/tmp-introspectc57_mxf2/Arrow-1.0.o:
relocation R_X86_64_32 against `.rodata' can not be used when making a PIE
object; recompile with -fPIE
```
### What changes are included in this PR?
Add extra_args to build if `c_compiler.get_supported_arguments('-fPIE')`
### Are these changes tested?
Via CI
### Are there any user-facing changes?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]