diff make/linux/makefiles/vm.make @ 8120:b02157cd249f

Merge
author vlivanov
date Wed, 27 Feb 2013 08:03:10 -0800
parents e7e9e08147fc
children 1b0dc9f87e75
line wrap: on
line diff
--- a/make/linux/makefiles/vm.make	Wed Feb 27 05:58:48 2013 -0800
+++ b/make/linux/makefiles/vm.make	Wed Feb 27 08:03:10 2013 -0800
@@ -100,7 +100,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)
+
 
 ifndef JAVASE_EMBEDDED 
 ifneq (${ARCH},arm)