Added support to avoid the mkdir BIN race condition in parallel make

This commit is contained in:
Mark Pizzolato 2012-07-10 13:47:17 -07:00
parent 938450bbf5
commit f66175beea

View file

@ -269,7 +269,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
NETWORK_OPT = $(NETWORK_CCDEFS) NETWORK_OPT = $(NETWORK_CCDEFS)
endif endif
ifneq (binexists,$(shell if $(TEST) -e BIN; then echo binexists; fi)) ifneq (binexists,$(shell if $(TEST) -e BIN; then echo binexists; fi))
MKDIRBIN = if $(TEST) ! -e BIN; then mkdir BIN; fi MKDIRBIN = mkdir -p BIN
endif endif
else else
#Win32 Environments (via MinGW32) #Win32 Environments (via MinGW32)