[3.13] gh-131865: Properly apply exported CFLAGS for dtrace/systemtap builds (GH-131866) (#131950)
gh-131865: Properly apply exported CFLAGS for dtrace/systemtap builds (GH-131866) When using --with-dtrace the resulting object file could be missing specific CFLAGS exported by the build system due to the systemtap script using specific defaults. Exporting the CC and CFLAGS variables before the dtrace invocation allows us to properly apply CFLAGS exported by the build system even when cross-compiling. The fix does not affect the dtrace invocation on Solaris/macOS. (cherry picked from commit 0cd4befb02df07c0b320cd6246227c13e57b2efb) Co-authored-by: stratakis <cstratak@redhat.com>
M
Miss Islington (bot) committed
29b958a36b8c18a289701f77c922831fe0151d53
Parent: d52371c
Committed by GitHub <noreply@github.com>
on 3/31/2025, 6:15:45 PM