[8u] RFR: 8219772: EXTRA_CFLAGS not being picked up for assembler files
sgehwolf at redhat.com
Mon Mar 11 10:45:28 UTC 2019
Could somebody please review this one-liner change for the 8u (OpenJDK)
build system? The issue at hand is that for assembler source files
extra C flags are not being passed to the compiler (GCC in the Linux
case). This is a problem for instrumented builds to facilitate checks
on produced binaries in terms of optimization flags and other build-
time invariants. The patch doesn't affect builds without extra C-
flags. Thus, risk should be minimal.
This is an 8u-only change. The new build system in JDK 11 and up seems
to handle these cases correctly.
Testing: Compiling with extra cflags, inspecting build logs for
assembler source files on Linux x86_64
More information about the build-dev