mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8374642: EscapeHash macro fails with GNU make 4.3 and 4.4
Reviewed-by: tbell, shade
This commit is contained in:
parent
dd20e91506
commit
383fe1efc3
@ -114,7 +114,7 @@ EscapeDollar = $(subst $$,\$$,$(subst \$$,$$,$(strip $1)))
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# This macro works just like EscapeDollar above, but for #.
|
# This macro works just like EscapeDollar above, but for #.
|
||||||
EscapeHash = $(subst \#,\\\#,$(subst \\\#,\#,$(strip $1)))
|
EscapeHash = $(subst $(HASH),\$(HASH),$(subst \$(HASH),$(HASH),$(strip $1)))
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# This macro translates $ into $$ to protect the string from make itself.
|
# This macro translates $ into $$ to protect the string from make itself.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user