scott@tekcrl.LABS.TEK.COM (Scott Huddleston) (07/15/89)
When you "make bootstrap" and define libdir on the command line, the definition doesn't get passed on to the later stages. A patch follows. ------------ cut here -------------- *** old/Makefile Wed Jul 12 17:40:16 1989 --- Makefile Fri Jul 14 19:37:16 1989 *************** *** 512,528 **** bootstrap: all force $(MAKE) stage1 ! $(MAKE) CC="stage1/gcc -Bstage1/" CFLAGS="-O $(CFLAGS)" $(MAKE) stage2 ! $(MAKE) CC="stage2/gcc -Bstage2/" CFLAGS="-O $(CFLAGS)" bootstrap2: force ! $(MAKE) CC="stage1/gcc -Bstage1/" CFLAGS="-O $(CFLAGS)" $(MAKE) stage2 ! $(MAKE) CC="stage2/gcc -Bstage2/" CFLAGS="-O $(CFLAGS)" bootstrap3: force ! $(MAKE) CC="stage2/gcc -Bstage2/" CFLAGS="-O $(CFLAGS)" # Copy the object files from a particular stage into a subdirectory. stage1: force --- 512,528 ---- bootstrap: all force $(MAKE) stage1 ! $(MAKE) CC="stage1/gcc -Bstage1/" CFLAGS="-O $(CFLAGS)" libdir=$(libdir) $(MAKE) stage2 ! $(MAKE) CC="stage2/gcc -Bstage2/" CFLAGS="-O $(CFLAGS)" libdir=$(libdir) bootstrap2: force ! $(MAKE) CC="stage1/gcc -Bstage1/" CFLAGS="-O $(CFLAGS)" libdir=$(libdir) $(MAKE) stage2 ! $(MAKE) CC="stage2/gcc -Bstage2/" CFLAGS="-O $(CFLAGS)" libdir=$(libdir) bootstrap3: force ! $(MAKE) CC="stage2/gcc -Bstage2/" CFLAGS="-O $(CFLAGS)" libdir=$(libdir) # Copy the object files from a particular stage into a subdirectory. stage1: force -- Scott Huddleston testing the semantics of the ".signature" file