Module Name:    src
Committed By:   joerg
Date:           Fri Dec 10 20:06:17 UTC 2010

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

Log Message:
Revert last as gcc(1) checks for -r to disable passing down --relax e.g.
on Sparc.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/lib/libpam/libpam/Makefile:1.11
--- src/lib/libpam/libpam/Makefile:1.10	Wed Dec  8 02:07:25 2010
+++ src/lib/libpam/libpam/Makefile	Fri Dec 10 20:06:17 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2010/12/08 02:07:25 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2010/12/10 20:06:17 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} -Wl,-r -Wl,--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