[ros-diffs] [hpoussin] 28594: Rename CFLAGS to HOST_FLAGS, CPPFLAGS to HOST_CPPFLAGS, LFLAGS to HOST_LFLAGS

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon Aug 27 09:21:26 CEST 2007


Author: hpoussin
Date: Mon Aug 27 11:21:26 2007
New Revision: 28594

URL: http://svn.reactos.org/svn/reactos?rev=28594&view=rev
Log:
Rename CFLAGS to HOST_FLAGS, CPPFLAGS to HOST_CPPFLAGS, LFLAGS to HOST_LFLAGS

Modified:
    trunk/reactos/Makefile
    trunk/reactos/tools/tools.mak

Modified: trunk/reactos/Makefile
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/Makefile?rev=28594&r1=28593&r2=28594&view=diff
==============================================================================
--- trunk/reactos/Makefile (original)
+++ trunk/reactos/Makefile Mon Aug 27 11:21:26 2007
@@ -161,15 +161,15 @@
 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
 

Modified: trunk/reactos/tools/tools.mak
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/tools.mak?rev=28594&r1=28593&r2=28594&view=diff
==============================================================================
--- trunk/reactos/tools/tools.mak (original)
+++ trunk/reactos/tools/tools.mak Mon Aug 27 11:21:26 2007
@@ -5,9 +5,9 @@
 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)




More information about the Ros-diffs mailing list