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]
Other format: [Raw text]

Re: PING: Build build programs in a build directory


> 	* Makefile.in (stmp-fixproto): Pass FIX_HEADER=build/... to
fixproto.
> 
> Index: Makefile.in
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
> retrieving revision 1.1404
> diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.1404 Makefile.in
> *** Makefile.in	29 Sep 2004 09:47:41 -0000	1.1404
> --- Makefile.in	30 Sep 2004 07:07:56 -0000
> *************** stmp-fixproto: fixhdr.ready fixproto stm
> *** 2902,2907 ****
> --- 2902,2908 ----
>   	else \
>   	  : This line works around a 'make' bug in BSDI 1.1.; \
>   	  FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"; export FIXPROTO_DEFINES;
> \
> + 	  FIX_HEADER="build/fix-header$(build_exeext)"; export FIX_HEADER;
> \
>   	  mkinstalldirs="$(mkinstalldirs)"; \
>   	    export mkinstalldirs; \
>   	  if [ -d "$(SYSTEM_HEADER_DIR)" ]; then \

Richard,

Could you file a Regression PR for this particular bug and put me in
the cc: list?  Otherwise it may not get reviewed

I agree that the error is due to my patch and I concur that your
proposed patch is the correct solution.

Thanks,
Kelley Cook


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