small patch for makeconfig

Philip Blundell pb@nexus.co.uk
Tue Feb 16 02:35:00 GMT 1999


This patch fixes a compilation problem on a.out systems (undefined references 
in libc.a that should be satisfied by libgcc). 

p.

1999-02-16  Philip Blundell  <pb@nexus.co.uk>

	* Makeconfig (link-libc): When doing a static link, make sure that 
	libgcc.a is included later than libc.a.

--- libc/Makeconfig	1999/01/16 17:00:11	1.209
+++ libc/Makeconfig	1999/02/16 10:16:11
@@ -419,7 +419,7 @@
 else
 nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
 resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
-link-libc = $(common-objpfx)libc.a $(otherlibs) $(gnulib) $(common-objpfx)libc.a
+link-libc = $(common-objpfx)libc.a $(otherlibs) $(common-objpfx)libc.a $(gnulib)
 endif
 endif
 





More information about the Libc-hacker mailing list