libc/unix/Makefile.am and ELIX level [PATCH]

Shaun Jackman sjackman@gmail.com
Wed Apr 6 23:22:00 GMT 2005


ttyname was being left out of the Linux shared library because the build
does not define an ELIX level.

Cheers,
Shaun

2005-04-06  Shaun Jackman  <sjackman@gmail.com>

	* libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
	ELIX level is defined.

Index: libc/unix/Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/libc/unix/Makefile.am,v
retrieving revision 1.4
diff -u -r1.4 Makefile.am
--- libc/unix/Makefile.am       26 Aug 2002 18:56:09 -0000      1.4
+++ libc/unix/Makefile.am       6 Apr 2005 23:17:59 -0000
@@ -29,9 +29,7 @@
 if ELIX_LEVEL_3
 LIB_OBJS = $(ELIX_2_OBJS)
 else
-if ELIX_LEVEL_4
 LIB_OBJS = $(ELIX_2_OBJS) $(ELIX_4_OBJS)
-endif
 endif
 endif
 endif



More information about the Newlib mailing list