Rename CFLAGS to HOST_FLAGS, CPPFLAGS to HOST_CPPFLAGS, LFLAGS to HOST_LFLAGS
authorHervé Poussineau <hpoussin@reactos.org>
Mon, 27 Aug 2007 07:21:26 +0000 (07:21 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Mon, 27 Aug 2007 07:21:26 +0000 (07:21 +0000)
svn path=/trunk/; revision=28594

reactos/Makefile
reactos/tools/tools.mak

index fd43631..acbba93 100644 (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
 
index 87bfde7..ad5a6df 100644 (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)