Mercurial > hg > graal-jvmci-8
diff make/solaris/makefiles/vm.make @ 8061:e7e9e08147fc
8007639: Workaround for ccache in vm.make is incorrect
Summary: Fixed makefile logic to correctly special case JRE_RELEASE_VERSION and vm_version.o
Reviewed-by: dholmes, erikj
author | mikael |
---|---|
date | Thu, 14 Feb 2013 12:36:07 -0800 |
parents | 892acf0431ef |
children | 1b0dc9f87e75 |
line wrap: on
line diff
--- a/make/solaris/makefiles/vm.make Thu Feb 14 14:33:35 2013 -0500 +++ b/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)