Added support to avoid the mkdir BIN race condition in parallel make
This commit is contained in:
parent
938450bbf5
commit
f66175beea
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue