8200658: Fix incremental builds of hotspot on solaris
authorihse
Tue, 03 Apr 2018 22:37:43 +0200
changeset 49517 a387ee36e5e0
parent 49516 a6aca02cf01a
child 49518 d0ff431a596e
8200658: Fix incremental builds of hotspot on solaris Reviewed-by: erikj
make/common/NativeCompilation.gmk
--- a/make/common/NativeCompilation.gmk	Tue Apr 03 22:33:58 2018 +0200
+++ b/make/common/NativeCompilation.gmk	Tue Apr 03 22:37:43 2018 +0200
@@ -292,8 +292,7 @@
     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