Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpam/libpam Explicitly pass down -r as linker option.



details:   https://anonhg.NetBSD.org/src/rev/6088a8ea6676
branches:  trunk
changeset: 759397:6088a8ea6676
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Dec 08 02:07:25 2010 +0000

description:
Explicitly pass down -r as linker option.

diffstat:

 lib/libpam/libpam/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9266db4133f1 -r 6088a8ea6676 lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile        Wed Dec 08 02:07:03 2010 +0000
+++ b/lib/libpam/libpam/Makefile        Wed Dec 08 02:07:25 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/12/14 01:18:20 matt Exp $
+# $NetBSD: Makefile,v 1.10 2010/12/08 02:07:25 joerg Exp $
 #-
 # Copyright (c) 1998 Juniper Networks, Inc.
 # All rights reserved.
@@ -184,7 +184,7 @@
 # XXX Using ${.ALLSRC} in the ld command causes openpam_static.c to be
 # XXX used.  Why??!!  --thorpej
 openpam_static_modules.o: openpam_static.o ${STATIC_MODULE_LIBS}
-       ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -r -Wl,--whole-archive \
+       ${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -Wl,-r -Wl,--whole-archive \
            openpam_static.o ${STATIC_MODULE_LIBS}
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index