This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] gcc/Makefile.in gcc-3_0-branch, pass CFLAGS to stage1_build


Attached patch from yesterday:
2001-03-22  Gordon Sadler  <gbsadler1@lcisp.com>

        * gcc/Makefile.in (stage1_build): pass CFLAGS to stage1_build

Empirically, bootstrapping gcc 3.0

with the patch	-j 3	breaks (tried twice with different strange errors)
with the patch	-j 1	succeeds
without patch	-j 3	succeeds

Can you or some other Makefile expert investigate the change to ensure
it is correct?

Tested on	i686-pc-linux-gnu

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.602.2.8
retrieving revision 1.602.2.9
diff -c -p -r1.602.2.8 -r1.602.2.9
*** Makefile.in	2001/03/22 18:36:55	1.602.2.8
--- Makefile.in	2001/03/22 21:47:12	1.602.2.9
*************** STAGE2_FLAGS_TO_PASS = \
*** 2899,2905 ****
  # we can guarantee will build with the native compiler, and also it is the
  # only thing useful for building stage2.
  stage1_build:
! 	$(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)"
  	touch stage1_build
  	echo stage1_build > stage_last
  
--- 2899,2906 ----
  # we can guarantee will build with the native compiler, and also it is the
  # only thing useful for building stage2.
  stage1_build:
! 	$(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" \
! 		CFLAGS="$(CFLAGS)"
  	touch stage1_build
  	echo stage1_build > stage_last
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]