Rename CFLAGS to HOST_FLAGS, CPPFLAGS to HOST_CPPFLAGS, LFLAGS to HOST_LFLAGS

svn path=/trunk/; revision=28594
This commit is contained in:
Hervé Poussineau 2007-08-27 07:21:26 +00:00
parent 7b6bb2a6fd
commit 58f1fa340a
2 changed files with 7 additions and 7 deletions

View file

@ -161,15 +161,15 @@ ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
export OSTYPE = msys
HOST=mingw32-linux
CFLAGS+=-fshort-wchar
CPPFLAGS+=-fshort-wchar
HOST_CFLAGS+=-fshort-wchar
HOST_CPPFLAGS+=-fshort-wchar
else
HOST=mingw32-windows
endif
else
HOST=mingw32-linux
CFLAGS+=-fshort-wchar
CPPFLAGS+=-fshort-wchar
HOST_CFLAGS+=-fshort-wchar
HOST_CPPFLAGS+=-fshort-wchar
endif
endif

View file

@ -5,9 +5,9 @@ TOOLS_INT_ = $(TOOLS_INT)$(SEP)
TOOLS_OUT = $(OUTPUT_)$(TOOLS_BASE)
TOOLS_OUT_ = $(TOOLS_OUT)$(SEP)
TOOLS_CFLAGS = $(CFLAGS) -Wall -Wpointer-arith -Wno-strict-aliasing
TOOLS_CPPFLAGS = $(CPPFLAGS) -Wall -Wpointer-arith
TOOLS_LFLAGS = $(LFLAGS)
TOOLS_CFLAGS = $(HOST_CFLAGS) -Wall -Wpointer-arith -Wno-strict-aliasing
TOOLS_CPPFLAGS = $(HOST_CPPFLAGS) -Wall -Wpointer-arith
TOOLS_LFLAGS = $(HOST_LFLAGS)
$(TOOLS_INT): | $(INTERMEDIATE)
$(ECHO_MKDIR)