Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libgcc/libgcc Don't use ${LD} -x becau...
details: https://anonhg.NetBSD.org/src/rev/1bcbb6dc1fdf
branches: trunk
changeset: 325900:1bcbb6dc1fdf
user: matt <matt%NetBSD.org@localhost>
date: Sat Jan 11 00:30:23 2014 +0000
description:
Don't use ${LD} -x because it screws up ARM BE.
Use ${OBJCOPY} ${OBJCOPYLIBFLAGS} instead so that $a/$d/$t are preserved.
diffstat:
external/gpl3/gcc/lib/libgcc/libgcc/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 597ea2315404 -r 1bcbb6dc1fdf external/gpl3/gcc/lib/libgcc/libgcc/Makefile
--- a/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Sat Jan 11 00:18:15 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Sat Jan 11 00:30:23 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2013/10/02 18:25:43 christos Exp $
+# $NetBSD: Makefile,v 1.17 2014/01/11 00:30:23 matt Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -63,7 +63,7 @@
.if defined(COPTS) && !empty(COPTS:M*-g*)
mv ${.TARGET}.tmp2 ${.TARGET}
.else
- ${LD} -x -r ${.TARGET}.tmp2 -o ${.TARGET}
+ ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}.tmp2 ${.TARGET}
rm -f ${.TARGET}.tmp2
.endif
rm -f ${.TARGET}.tmp1
@@ -77,7 +77,7 @@
.if defined(COPTS) && !empty(COPTS:M*-g*)
mv ${.TARGET}.tmp2 ${.TARGET}
.else
- ${LD} -x -r ${.TARGET}.tmp2 -o ${.TARGET}
+ ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}.tmp2 ${.TARGET}
rm -f ${.TARGET}.tmp2
.endif
rm -f ${.TARGET}.tmp1
Home |
Main Index |
Thread Index |
Old Index