make/aix/makefiles/vm.make

Print this page
rev 6164 : 8038262: Workaround for ccache in vm.make is missing for aix
Reviewed-by: simonis, kvn

@@ -99,11 +99,11 @@
   ${VM_DISTRO}
 
 # This is VERY important! The version define must only be supplied to vm_version.o
 # If not, ccache will not re-use the cache at all, since the version string might contain
 # a time and date.
-vm_version.o: CXXFLAGS += ${JRE_VERSION}
+CXXFLAGS/vm_version.o += ${JRE_VERSION}
 
 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 
 # File specific flags
 CXXFLAGS += $(CXXFLAGS/BYFILE)