changeset 25053:31552d34d362

8044797: Building with clang gives: fatal error: file '...' has been modified since the precompiled header was built Reviewed-by: dholmes, dcubed
author sla
date Mon, 09 Jun 2014 11:03:09 +0200
parents 66e77563d9e7
children 8a12137a8422
files hotspot/make/bsd/makefiles/vm.make hotspot/make/linux/makefiles/vm.make
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/make/bsd/makefiles/vm.make	Fri Jun 06 14:46:42 2014 +0200
+++ b/hotspot/make/bsd/makefiles/vm.make	Mon Jun 09 11:03:09 2014 +0200
@@ -295,6 +295,7 @@
 $(PRECOMPILED_HEADER):
 	$(QUIETLY) echo Generating precompiled header $@
 	$(QUIETLY) mkdir -p $(PRECOMPILED_HEADER_DIR)
+	$(QUIETLY) rm -f $@
 	$(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -x c++-header $(PRECOMPILED_HEADER_SRC) -o $@ $(COMPILE_DONE)
 
 # making the library:
--- a/hotspot/make/linux/makefiles/vm.make	Fri Jun 06 14:46:42 2014 +0200
+++ b/hotspot/make/linux/makefiles/vm.make	Mon Jun 09 11:03:09 2014 +0200
@@ -290,6 +290,7 @@
 $(PRECOMPILED_HEADER):
 	$(QUIETLY) echo Generating precompiled header $@
 	$(QUIETLY) mkdir -p $(PRECOMPILED_HEADER_DIR)
+	$(QUIETLY) rm -f $@
 	$(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -x c++-header $(PRECOMPILED_HEADER_SRC) -o $@ $(COMPILE_DONE)
 
 # making the library: