1.1 --- a/common/makefiles/HotspotWrapper.gmk Wed Oct 24 13:11:42 2012 -0700 1.2 +++ b/common/makefiles/HotspotWrapper.gmk Fri Oct 26 14:29:57 2012 -0700 1.3 @@ -36,9 +36,12 @@ 1.4 default: all 1.5 1.6 # Get all files except .hg in the hotspot directory. 1.7 -HOTSPOT_FILES := $(shell $(FIND) $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print) 1.8 +HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print) 1.9 1.10 +# The old build creates hotspot output dir before calling hotspot and 1.11 +# not doing it breaks builds on msys. 1.12 $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp: $(HOTSPOT_FILES) 1.13 + @$(MKDIR) -p $(HOTSPOT_OUTPUTDIR) 1.14 @($(CD) $(HOTSPOT_TOPDIR)/make && $(MAKE) -j1 $(HOTSPOT_MAKE_ARGS) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC)) 1.15 $(TOUCH) $@ 1.16