mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 15:53:02 +00:00
Fix build.
svn path=/trunk/; revision=34542
This commit is contained in:
parent
900b6e2e6a
commit
1ef680846a
1 changed files with 14 additions and 14 deletions
|
@ -167,20 +167,20 @@ all: $(ROS_AUTOMAKE)
|
|||
.SUFFIXES:
|
||||
|
||||
ifeq ($(HOST),)
|
||||
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
||||
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
|
||||
export OSTYPE = msys
|
||||
HOST=mingw32-linux
|
||||
HOST_CFLAGS+=-fshort-wchar
|
||||
HOST_CPPFLAGS+=-fshort-wchar
|
||||
else
|
||||
HOST=mingw32-windows
|
||||
endif
|
||||
else
|
||||
HOST=mingw32-linux
|
||||
HOST_CFLAGS+=-fshort-wchar
|
||||
HOST_CPPFLAGS+=-fshort-wchar
|
||||
endif
|
||||
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
||||
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
|
||||
export OSTYPE = msys
|
||||
HOST=mingw32-linux
|
||||
HOST_CFLAGS+=-fshort-wchar
|
||||
HOST_CPPFLAGS+=-fshort-wchar
|
||||
else
|
||||
HOST=mingw32-windows
|
||||
endif
|
||||
else
|
||||
HOST=mingw32-linux
|
||||
HOST_CFLAGS+=-fshort-wchar
|
||||
HOST_CPPFLAGS+=-fshort-wchar
|
||||
endif
|
||||
endif
|
||||
|
||||
# Default to half-verbose mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue