hotspot/make/solaris/makefiles/vm.make
changeset 15737 ca4c7b0381d4
parent 14815 41114a74463a
child 15793 4867678e3517
--- a/hotspot/make/solaris/makefiles/vm.make	Thu Feb 14 14:33:35 2013 -0500
+++ b/hotspot/make/solaris/makefiles/vm.make	Thu Feb 14 12:36:07 2013 -0800
@@ -88,7 +88,13 @@
 # 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)
+
 
 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 CFLAGS += $(CFLAGS_WARN)