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]

patch: silent libf2c build failures, multilib related?


Martin Knoblauch wrote:

>  Would a "--disable-multilib" configure flag cause problems?

Robert Lipe wrote:

[ maybe.   Never tried it.  It's a variable worth investigating. ] 

Yep.  That's the ticket.  Martin, can you confirm this works for you?

Please consider this patch to make --disable-multilib actually make a .a
out of all those .o's.


* Makefile.in (all): Correct dependencies do --disable-multilibs works again.
	(distclean): Correct typo.


Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libf2c/Makefile.in,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile.in
--- Makefile.in	1998/09/21 10:34:22	1.22
+++ Makefile.in	1998/09/29 03:06:57
@@ -85,8 +85,8 @@ F2CEXT = abort derf derfc ef1asc ef1cmc 
 # These dependencies can be satisfied in parallel.  The [fiu]77
 # targets update stamp files which the $(LIBG2C) target checks in the
 # sub-make.  (Probably only one stamp file is really needed.)
-all: i77 f77 u77 s-libe77
-	$(MULTIDO) $(FLAGS_TO_PASS) $(LIBG2C) multi-do DO="all $(LIBG2C)"
+all: i77 f77 u77 s-libe77 $(LIBG2C)
+	$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="all"
 
 i77 f77 u77: g2c.h
 
@@ -187,7 +187,7 @@ clean: mostlyclean
 distclean: clean
 	rm -f Makefile config.cache config.status g2c.h s-libe77
 	$(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
-	@$(MULTICLEAN) multi-clean DO=distclean
+	$(MULTICLEAN) multi-clean DO=distclean
 
 maintainer-clean:
 


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