Bypass some weird crack when cross-compiling with MinGW

This commit is contained in:
Tor Lillqvist
2011-05-22 10:53:50 +03:00
parent f05f831829
commit 8c3740eb6e
2 changed files with 12 additions and 0 deletions

View File

@@ -11,6 +11,10 @@ TARGET=gcc3_specific
.IF "$(GUI)" == "WNT"
.IF "$(CROSS_COMPILING)" == ""
# Don't do any of this weird and presumably obsolete crack when
# cross-compiling
.IF "$(COM)" == "GCC"
.IF "$(MINGW_SHARED_GCCLIB)" == "YES"
@@ -38,6 +42,8 @@ $(MINGWGXXDLL) :
.ENDIF
.ENDIF
.ELSE
.IF "$(SYSTEM_STDLIBS)" != "YES" && "$(COMID)"=="gcc3"

View File

@@ -33,6 +33,10 @@ TARGET=mingwheaders
.IF "$(OS)$(COM)" == "WNTGCC"
.IF "$(CROSS_COMPILING)" == ""
# Don't do any of this weird and presumably obsolete crack when
# cross-compiling
# Cygwin and MinGW use different directories for the W32API headers
.IF "$(USE_MINGW)" == "cygwin"
MINGW_INCLUDE_DIR=$/usr$/include/mingw/
@@ -206,5 +210,7 @@ clean:
.ENDIF
.ENDIF
.INCLUDE : target.mk