make/linux/makefiles/vm.make

changeset 3517
c77d473e71f7
parent 3427
94ec88ca68e2
child 3518
719f7007c8e8
     1.1 --- a/make/linux/makefiles/vm.make	Fri Feb 03 17:21:52 2012 -0500
     1.2 +++ b/make/linux/makefiles/vm.make	Tue Jan 31 13:12:39 2012 +0100
     1.3 @@ -95,9 +95,13 @@
     1.4    ${BUILD_TARGET}    \
     1.5    ${BUILD_USER}      \
     1.6    ${HS_LIB_ARCH}     \
     1.7 -  ${JRE_VERSION}     \
     1.8    ${VM_DISTRO}
     1.9  
    1.10 +# This is VERY important! The version define must only be supplied to vm_version.o
    1.11 +# If not, ccache will not re-use the cache at all, since the version string might contain
    1.12 +# a time and date. 
    1.13 +vm_version.o: CPPFLAGS += ${JRE_VERSION}
    1.14 +
    1.15  ifndef JAVASE_EMBEDDED
    1.16  CFLAGS += -DINCLUDE_TRACE
    1.17  endif

mercurial