Module Name:    src
Committed By:   mrg
Date:           Fri Dec 11 06:52:41 UTC 2009

Modified Files:
        src/lib/libpam/libpam [matt-nb5-mips64]: Makefile

Log Message:
use "gcc -r" not "gcc -Wl,-r", since this bypasses various specs
tests and ends up making gcc pass "-r -relax" to ld, which barfs.

ok m...@.


To generate a diff of this commit:
cvs rdiff -u -r1.8.8.1 -r1.8.8.2 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.8.8.1 src/lib/libpam/libpam/Makefile:1.8.8.2
--- src/lib/libpam/libpam/Makefile:1.8.8.1	Sat Sep  5 03:54:48 2009
+++ src/lib/libpam/libpam/Makefile	Fri Dec 11 06:52:41 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8.8.1 2009/09/05 03:54:48 matt Exp $
+# $NetBSD: Makefile,v 1.8.8.2 2009/12/11 06:52:41 mrg 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} -Wl,-r,--whole-archive \
+	${CC} ${LDFLAGS} -nostdlib -o ${.TARGET} -r -Wl,--whole-archive \
 	    openpam_static.o ${STATIC_MODULE_LIBS}
 
 .include <bsd.lib.mk>

Reply via email to