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/700e354b343f
branches:  trunk
changeset: 759466:700e354b343f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Dec 10 20:08:17 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.prog.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 07891b7b3da6 -r 700e354b343f share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Fri Dec 10 20:06:17 2010 +0000
+++ b/share/mk/bsd.prog.mk      Fri Dec 10 20:08:17 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.253 2010/12/08 02:04:13 joerg Exp $
+#      $NetBSD: bsd.prog.mk,v 1.254 2010/12/10 20:08:17 joerg Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -310,7 +310,7 @@
 
 ${_P}.ro: ${OBJS.${_P}} ${DPADD}
        ${_MKTARGET_LINK}
-       ${CC} ${LDFLAGS} -nostdlib -Wl,-r -Wl,-dc -o ${.TARGET} ${OBJS.${_P}}
+       ${CC} ${LDFLAGS} -nostdlib -r -Wl,-dc -o ${.TARGET} ${OBJS.${_P}}
 
 .if defined(_PROGDEBUG.${_P})
 ${_PROGDEBUG.${_P}}: ${_P}



Home | Main Index | Thread Index | Old Index