diff --git a/runtime/Makefile b/runtime/Makefile index f9a40540a0f..7209867c2f6 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -20,7 +20,7 @@ ifeq ($(ARCH), Sparc) PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) endif -ifeq ($(OS), Cygwin) +ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW)) PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) endif