diff make/bsd/makefiles/vm.make @ 8095:fd32b88a87e9

Merge
author poonam
date Sat, 23 Feb 2013 17:40:33 -0800
parents e7e9e08147fc
children 1b0dc9f87e75
line wrap: on
line diff
--- a/make/bsd/makefiles/vm.make	Thu Feb 21 23:58:05 2013 -0800
+++ b/make/bsd/makefiles/vm.make	Sat Feb 23 17:40:33 2013 -0800
@@ -94,7 +94,12 @@
 # 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)
 
 ifdef DEFAULT_LIBPATH
 CXXFLAGS += -DDEFAULT_LIBPATH="\"$(DEFAULT_LIBPATH)\""