From: Marat Radchenko Date: Mon, 28 Apr 2014 13:51:26 GMT Subject: [PATCH 01/12] MINGW: config.mak.uname: add explicit way to request MinGW-build Message-ID: <1398693097-24651-2-git-send-email-marat@slonopotamus.org> In-Reply-To: <1398693097-24651-1-git-send-email-marat@slonopotamus.org> When crosscompiling, one cannot rely on `uname` from host system. Thus, add an option to use `make MINGW=1` for building MinGW build from non-MinGW host (Linux, for example). Signed-off-by: Marat Radchenko --- config.mak.uname | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.mak.uname b/config.mak.uname index 23a8803..5d301da 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -13,6 +13,11 @@ ifdef MSVC uname_O := Windows endif +ifdef MINGW + uname_S := MINGW + uname_O := MINGW +endif + # We choose to avoid "if .. else if .. else .. endif endif" # because maintaining the nesting to match is a pain. If # we had "elif" things would have been much nicer... -- 1.9.1