This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc/Makefile.in gcc-3_0-branch, pass CFLAGS to stage1_build
- To: gbsadler1 at lcisp dot com
- Subject: Re: [PATCH] gcc/Makefile.in gcc-3_0-branch, pass CFLAGS to stage1_build
- From: Jeffrey Oldham <oldham at codesourcery dot com>
- Date: Fri, 23 Mar 2001 12:17:26 -0800
- Cc: Jeffrey Oldham <oldham at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery LLC
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