8255732: OpenJDK fails to build if $A is set to a value with spaces
Reviewed-by: ihse
This commit is contained in:
parent
c774741655
commit
184db64dfb
@ -311,9 +311,11 @@ define SetupJavaCompilationBody
|
||||
ifneq ($$($1_KEEP_DUPS), true)
|
||||
# Remove duplicate source files by keeping the first found of each duplicate.
|
||||
# This allows for automatic overrides with custom or platform specific versions
|
||||
# source files.
|
||||
# source files. Need to call DoubleDollar as we have java classes with '$' in
|
||||
# their names.
|
||||
$1_SRCS := $$(strip $$(foreach s, $$($1_SRCS), \
|
||||
$$(eval relative_src := $$(call remove-prefixes, $$($1_SRC), $$(s))) \
|
||||
$$(eval relative_src := $$(call remove-prefixes, $$($1_SRC), \
|
||||
$$(call DoubleDollar, $$(s)))) \
|
||||
$$(if $$($1_$$(relative_src)), \
|
||||
, \
|
||||
$$(eval $1_$$(relative_src) := 1) $$(s))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user