Specify both -Wa,-march=68030 and -Wa,-mcpu=68030 in -m68060 case for gcc45.

Now VME177 builds with both gcc45 and gcc48
(though untested on the real machines).

XXX: is it really worth to use -m68060 (instead of -m68020-60)
     for kernel binaries?
This commit is contained in:
tsutsui 2014-04-05 11:07:30 +00:00
parent feddfa4e80
commit 39e983d4e8
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mvme68k,v 1.64 2014/03/30 15:54:37 tsutsui Exp $
# $NetBSD: Makefile.mvme68k,v 1.65 2014/04/05 11:07:30 tsutsui Exp $
# Makefile for NetBSD
#
@ -40,7 +40,7 @@ CMACHFLAGS= -m68030
.endif
.else
.if empty(IDENT:M-DMVME147) && empty(IDENT:M-DMVME162) && empty(IDENT:M-DMVME167)
CMACHFLAGS= -m68060 -Wa,-mcpu=68030 -Wa,-m68851
CMACHFLAGS= -m68060 -Wa,-march=68030 -Wa,-mcpu=68030 -Wa,-m68851
.else
CMACHFLAGS= -m68020-60 -Wa,-mcpu=68030 -Wa,-m68851
.endif