From b655714f18973c50b34aac11edee8abb9c8fdf2b Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Dec 2007 02:56:33 +0000 Subject: * common.mk: should not pass MAKEFLAGS to recursive make. + normal make: MFLAGS are set and command line options and macros are all passed silently. + GNU make: ditto, and all options and macros in MAKEFLAGS are in effect. + nmake: MFLAGS is not set and MAKEFLAGS has only options without hyphen, no macros exist in any variables. + Borland make: ditto, and command line macros cannot override macros in makefile, so passing them is vain. * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- wince/Makefile.sub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wince') diff --git a/wince/Makefile.sub b/wince/Makefile.sub index dbcad66c1c..ca1c4421bb 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -353,7 +353,7 @@ s,@RANLIB@,,;t t s,@AR@,$(AR),;t t s,@ARFLAGS@,$(ARFLAGS),;t t s,@LN_S@,$(LN_S),;t t -s,@SET_MAKE@,$(SET_MAKE),;t t +s,@SET_MAKE@,MFLAGS = -$$(MAKEFLAGS),;t t s,@CP@,copy > nul,;t t s,@LIBOBJS@, acosh.obj crypt.obj erf.obj win32.obj isinf.obj isnan.obj,;t t s,@ALLOCA@,$(ALLOCA),;t t -- cgit v1.2.3