We currently have three macros (as in "functions", not just simple strings) 
that are assigned in spec.gmk. This is in contrast with the rest of the values 
assigned in spec.gmk, and it is surprising and is forcing an odd syntax. 
Furthermore, these macros are named as constants, and not as we normally name 
functions/macros.

We should move them to normal .gmk code, and rename them.

The three macros are `SET_SHARED_LIBRARY_ORIGIN`, `SET_EXECUTABLE_ORIGIN` and 
`SET_SHARED_LIBRARY_NAME`.

-------------

Commit messages:
 - 8368102: Don't store macros in spec.gmk

Changes: https://git.openjdk.org/jdk/pull/27394/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27394&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368102
  Stats: 109 lines in 8 files changed: 61 ins; 40 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/27394.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27394/head:pull/27394

PR: https://git.openjdk.org/jdk/pull/27394

Reply via email to