mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
detect windows instead of assuming it
svn path=/trunk/; revision=13953
This commit is contained in:
parent
3ed09e40d9
commit
0e37d806a5
1 changed files with 6 additions and 2 deletions
|
@ -35,9 +35,13 @@ export MAKE := @$(MAKE)
|
||||||
ifeq ($(VERBOSE),no)
|
ifeq ($(VERBOSE),no)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Windows is default host environment
|
# detect Windows host environment
|
||||||
ifeq ($(HOST),)
|
ifeq ($(HOST),)
|
||||||
export HOST = mingw32-windows
|
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
||||||
|
HOST=mingw32-windows
|
||||||
|
else
|
||||||
|
HOST=mingw32-linux
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Default to building map files which includes source and asm code
|
# Default to building map files which includes source and asm code
|
||||||
|
|
Loading…
Reference in a new issue