Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common Pass LDFLAGS to ld.
details: https://anonhg.NetBSD.org/src/rev/dd8240b7a81f
branches: trunk
changeset: 358290:dd8240b7a81f
user: maya <maya%NetBSD.org@localhost>
date: Wed Dec 20 04:46:19 2017 +0000
description:
Pass LDFLAGS to ld.
Without this, mips64-ld thinks we want to link our n64 objects with the
default ABI, n32.
diffstat:
sys/compat/common/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 2d85c9e8ae51 -r dd8240b7a81f sys/compat/common/Makefile
--- a/sys/compat/common/Makefile Wed Dec 20 03:24:56 2017 +0000
+++ b/sys/compat/common/Makefile Wed Dec 20 04:46:19 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2017/12/16 10:15:12 maxv Exp $
+# $NetBSD: Makefile,v 1.63 2017/12/20 04:46:19 maya Exp $
LIB= compat
NOPIC= # defined
@@ -26,12 +26,12 @@
lib${LIB}.o:: ${OBJS:O}
@echo building standard ${LIB} library
@rm -f lib${LIB}.o
- @${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
+ @${LD} -r -o lib${LIB}.o ${LDFLAGS} `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
lib${LIB}.po:: ${POBJS:O}
@echo building profiled ${LIB} library
@rm -f lib${LIB}.po
- @${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
+ @${LD} -r -o lib${LIB}.po ${LDFLAGS} `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
showsources: ${SRCS}
@echo ${.ALLSRC}
Home |
Main Index |
Thread Index |
Old Index