diff options
| author | mrg <mrg@NetBSD.org> | 2008-02-09 02:37:21 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2008-02-09 02:37:21 +0000 |
| commit | ecc90aa0468da0dfe81e0f45eac60cb92e85258e (patch) | |
| tree | a53fe079f632d524639aca2f5cbe17fbba037d65 /gnu | |
| parent | b757a71702c75498c5afb210c3500a541b25e637 (diff) | |
make all sun2 use -O0 and move most of the hacks out into just 3 files.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/lib/libgcc4/Makefile.inc | 14 | ||||
| -rw-r--r-- | gnu/usr.sbin/mdsetimage/Makefile | 7 |
2 files changed, 2 insertions, 19 deletions
diff --git a/gnu/lib/libgcc4/Makefile.inc b/gnu/lib/libgcc4/Makefile.inc index 4144708a79c..03f53b9d1a9 100644 --- a/gnu/lib/libgcc4/Makefile.inc +++ b/gnu/lib/libgcc4/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.7 2008/02/05 02:41:15 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.8 2008/02/09 02:37:21 mrg Exp $ .if exists(${.CURDIR}/arch/${MACHINE_ARCH}.mk) && ${MKGCC} != "no" .include "${.CURDIR}/arch/${MACHINE_ARCH}.mk" @@ -137,15 +137,3 @@ ${FAKEHEADERS}: touch ${.TARGET} tm.h ${SRCS}: ${FAKEHEADERS} CLEANFILES+= ${FAKEHEADERS} - -.if ${MACHINE_ARCH} == "m68000" -COPTS._divtc3.c+= -O0 -COPTS._divdc3.c+= -O0 -COPTS._divsc3.c+= -O0 -COPTS._fixdfdi.c+= -O0 -COPTS._fixsfdi.c+= -O0 -COPTS._muldc3.c+= -O0 -COPTS._mulsc3.c+= -O0 -COPTS._muldi3.c+= -O0 -COPTS.xfgnulib.c+= -O0 -.endif diff --git a/gnu/usr.sbin/mdsetimage/Makefile b/gnu/usr.sbin/mdsetimage/Makefile index fa6050218ed..1b7f7a92734 100644 --- a/gnu/usr.sbin/mdsetimage/Makefile +++ b/gnu/usr.sbin/mdsetimage/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2004/01/03 14:04:27 lukem Exp $ +# $NetBSD: Makefile,v 1.19 2008/02/09 02:37:21 mrg Exp $ .include <bsd.own.mk> @@ -14,11 +14,6 @@ MAN= mdsetimage.8 CPPFLAGS+= -I${BFDDIR} -I${DIST}/bfd -I${DIST}/binutils -I${DIST}/include -# XXX GCC3/m68010 fails to compile mdsetimage.c -.if ${MACHINE_ARCH} == "m68000" -COPTS.mdsetimage.c= -O0 -.endif - .if !defined(HOSTPROG) && ${MKPICLIB} != "no" DPADD+= ${BFDDIR}/libbfd_pic.a .else |
