gh-131865: Properly apply exported CFLAGS for dtrace/systemtap builds (#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.
S
stratakis committed
0cd4befb02df07c0b320cd6246227c13e57b2efb
Parent: 51e0f2b
Committed by GitHub <noreply@github.com>
on 3/31/2025, 5:53:49 PM