Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.
This commit is contained in:
parent
6ccee47911
commit
f360555e8a
@ -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}: .gdbinit ${LIBCRT0} ${OBJS.${_P}} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${D
|
||||
|
||||
${_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}
|
||||
|
Loading…
Reference in New Issue
Block a user