Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/lib/libbfd Gcc3 for sh5 gets an ICE compiling libbfd's e...
details: https://anonhg.NetBSD.org/src/rev/328edf5eae36
branches: trunk
changeset: 556127:328edf5eae36
user: scw <scw%NetBSD.org@localhost>
date: Sun Dec 07 21:13:04 2003 +0000
description:
Gcc3 for sh5 gets an ICE compiling libbfd's elf32.c and elf64.c at -O2.
Drop to -O1 for now when building for sh5.
diffstat:
gnu/lib/libbfd/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 8c20f531c921 -r 328edf5eae36 gnu/lib/libbfd/Makefile
--- a/gnu/lib/libbfd/Makefile Sun Dec 07 20:59:00 2003 +0000
+++ b/gnu/lib/libbfd/Makefile Sun Dec 07 21:13:04 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2003/12/04 12:18:57 mrg Exp $
+# $NetBSD: Makefile,v 1.39 2003/12/07 21:13:04 scw Exp $
NOLINKLIB= # defined
NOLINT= # defined
@@ -46,6 +46,12 @@
.include <bsd.lib.mk>
.include <bsd.info.mk>
+# XXX
+.if ${MACHINE_CPU} == "sh5"
+COPTS.elf32.c= -O1
+COPTS.elf64.c= -O1
+.endif
+
${OBJS} ${SOBJS}: elf32-target.h elf64-target.h
targets.o targets.so: targmatch.h Makefile
.else
Home |
Main Index |
Thread Index |
Old Index