In [JDK-8329086](https://bugs.openjdk.org/browse/JDK-8329086), when cleaning up the native build for java.desktop, what was likely a bug with LCMS_CFLAGS was found. See the discussion at https://github.com/openjdk/jdk/pull/18486#discussion_r1539179250.
The old behavior was kept to not introduce any changes in that refactoring PR, but now the time has come to clean this up. ------------- Commit messages: - 8352510: Don't reset LCMS_CFLAGS Changes: https://git.openjdk.org/jdk/pull/24131/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24131&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8352510 Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/24131.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24131/head:pull/24131 PR: https://git.openjdk.org/jdk/pull/24131