8200658: Fix incremental builds of hotspot on solaris

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2018-04-03 22:37:43 +02:00
parent f1c335ba00
commit 3a3fbb391f

View File

@ -292,8 +292,7 @@ define SetupCompileNativeFileBody
endif
ifneq ($$(strip $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)), )
$1_VARDEPS := $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPT_CFLAGS) \
$$($1_OPT_CXXFLAGS)
$1_VARDEPS := $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, $$($1_OBJ).vardeps)
endif