Source-Changes-HG archive

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

[src/trunk]: src/share/mk ldopts should be before ldadd like everywhere else.



details:   https://anonhg.NetBSD.org/src/rev/4cebd638712e
branches:  trunk
changeset: 785888:4cebd638712e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 04 21:14:36 2013 +0000

description:
ldopts should be before ldadd like everywhere else.

diffstat:

 share/mk/bsd.prog.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 7c1b7c8e9ebe -r 4cebd638712e share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Thu Apr 04 16:11:12 2013 +0000
+++ b/share/mk/bsd.prog.mk      Thu Apr 04 21:14:36 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.282 2013/02/14 03:02:47 christos Exp $
+#      $NetBSD: bsd.prog.mk,v 1.283 2013/04/04 21:14:36 christos Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -510,8 +510,7 @@
        ${_MKTARGET_LINK}
        ${_CCLINK.${_P}} \
            ${_LDFLAGS.${_P}} ${_LDSTATIC.${_P}} -o ${.TARGET} \
-           ${OBJS.${_P}} ${_LDADD.${_P}} \
-           ${_PROGLDOPTS}
+           ${OBJS.${_P}} ${_PROGLDOPTS} ${_LDADD.${_P}}
 .if defined(CTFMERGE)
        ${CTFMERGE} ${CTFMFLAGS} -o ${.TARGET} ${OBJS.${_P}}
 .endif



Home | Main Index | Thread Index | Old Index