[23307] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r22965 - trunk/debathena/debathena/libnss-nonlocal

daemon@ATHENA.MIT.EDU (andersk@MIT.EDU)
Thu May 8 09:23:31 2008

Date: Thu, 8 May 2008 09:22:59 -0400 (EDT)
From: andersk@MIT.EDU
Message-Id: <200805081322.JAA24844@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: andersk
Date: 2008-05-08 09:22:59 -0400 (Thu, 08 May 2008)
New Revision: 22965

Modified:
   trunk/debathena/debathena/libnss-nonlocal/Makefile
Log:
Use $(CC) for linktest.


Modified: trunk/debathena/debathena/libnss-nonlocal/Makefile
===================================================================
--- trunk/debathena/debathena/libnss-nonlocal/Makefile	2008-05-08 11:49:26 UTC (rev 22964)
+++ trunk/debathena/debathena/libnss-nonlocal/Makefile	2008-05-08 13:22:59 UTC (rev 22965)
@@ -4,7 +4,6 @@
 INSTALL = install
 CC = gcc
 CFLAGS = -O2 -Wall
-LD = ld
 
 ALL_CFLAGS = $(CFLAGS) -fPIC
 ALL_LDFLAGS = $(LDFLAGS) -shared -Wl,-x
@@ -24,7 +23,7 @@
 nonlocal-shadow.o: nonlocal-shadow.c nsswitch-internal.h nonlocal.h
 
 linktest: libnss_nonlocal.so.2
-	$(LD) --entry=0 -o /dev/null $^
+	$(CC) $(LDFLAGS) -nostdlib -Wl,--entry=0 -o /dev/null $^
 
 install: libnss_nonlocal.so.2
 	$(INSTALL) -d $(DESTDIR)$(libdir)


home help back first fref pref prev next nref lref last post