Module Name:    src
Committed By:   joerg
Date:           Wed Dec  8 02:07:25 UTC 2010

Modified Files:
        src/lib/libpam/libpam: Makefile

Log Message:
Explicitly pass down -r as linker option.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libpam/libpam/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpam/libpam/Makefile
diff -u src/lib/libpam/libpam/Makefile:1.9 src/lib/libpam/libpam/Makefile:1.10
--- src/lib/libpam/libpam/Makefile:1.9	Mon Dec 14 01:18:20 2009
+++ src/lib/libpam/libpam/Makefile	Wed Dec  8 02:07:25 2010
@@ -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>

Reply via email to