Source-Changes-HG archive

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

[src/trunk]: src/share/mk Revert last, gcc(1) checks explicitly for -r on som...



details:   https://anonhg.NetBSD.org/src/rev/87499c8d061f
branches:  trunk
changeset: 759501:87499c8d061f
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Dec 11 18:42:33 2010 +0000

description:
Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.

diffstat:

 share/mk/bsd.kmodule.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 830373e1e5b0 -r 87499c8d061f share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk   Sat Dec 11 18:25:02 2010 +0000
+++ b/share/mk/bsd.kmodule.mk   Sat Dec 11 18:42:33 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmodule.mk,v 1.25 2010/12/08 02:04:13 joerg Exp $
+#      $NetBSD: bsd.kmodule.mk,v 1.26 2010/12/11 18:42:33 martin Exp $
 
 # We are not building this with PIE
 MKPIE=no
@@ -55,7 +55,7 @@
 
 ${PROG}: ${OBJS} ${DPADD}
        ${_MKTARGET_LINK}
-       ${CC} ${LDFLAGS} -nostdlib -Wl,-r -Wl,-T,${KMODSCRIPT},-d \
+       ${CC} ${LDFLAGS} -nostdlib -r -Wl,-T,${KMODSCRIPT},-d \
                -o ${.TARGET} ${OBJS}
 
 ##### Install rules



Home | Main Index | Thread Index | Old Index