mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 05:02:24 +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:
|
.SUFFIXES:
|
||||||
|
|
||||||
ifeq ($(HOST),)
|
ifeq ($(HOST),)
|
||||||
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
|
||||||
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
|
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
|
||||||
export OSTYPE = msys
|
export OSTYPE = msys
|
||||||
HOST=mingw32-linux
|
HOST=mingw32-linux
|
||||||
HOST_CFLAGS+=-fshort-wchar
|
HOST_CFLAGS+=-fshort-wchar
|
||||||
HOST_CPPFLAGS+=-fshort-wchar
|
HOST_CPPFLAGS+=-fshort-wchar
|
||||||
else
|
else
|
||||||
HOST=mingw32-windows
|
HOST=mingw32-windows
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
HOST=mingw32-linux
|
HOST=mingw32-linux
|
||||||
HOST_CFLAGS+=-fshort-wchar
|
HOST_CFLAGS+=-fshort-wchar
|
||||||
HOST_CPPFLAGS+=-fshort-wchar
|
HOST_CPPFLAGS+=-fshort-wchar
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Default to half-verbose mode
|
# Default to half-verbose mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue