From 8e21ad20c21cc0b006f4a6c7226071d2c6893cb3 Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 16 Jan 2015 06:30:48 +0000 Subject: [PATCH] MSYS2 build fix. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4924 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/Makefile.common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index ae1dd837d..72dc3f13e 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -295,7 +295,10 @@ ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4))) endif ifeq ($(HOST),WINDOWS) - DONT_PRINT = > NUL 2>&1 +# MSYS2 lets you create files named NUL but has a /dev/null. Go figure. + ifeq (,$(wildcard /dev/null)) + DONT_PRINT = > NUL 2>&1 + endif endif ifeq ($(PLATFORM),WINDOWS)