Re: Appeasing gcc48 for mvme68k

"John D. Baker" <[email protected]> Sun, 30 Mar 2014 08:40:04 -0500 (CDT)
Newsgroups gmane.os.netbsd.ports.mvme68k
Message-ID <[email protected]>
Taking a cue from:

   http://mail-index.netbsd.org/source-changes/2014/03/29/msg053460.html

The following patch allows a full release build to complete:

+Index: sys/arch/mvme68k/conf/Makefile.mvme68k
+===================================================================
+RCS file: /cvsroot/src/sys/arch/mvme68k/conf/Makefile.mvme68k,v
+retrieving revision 1.62
+diff -u -b -r1.62 Makefile.mvme68k
+--- sys/arch/mvme68k/conf/Makefile.mvme68k	21 Jan 2011 15:59:07 -0000	1.62
++++ sys/arch/mvme68k/conf/Makefile.mvme68k	30 Mar 2014 02:33:01 -0000
+@@ -40,9 +40,9 @@
+ .endif
+ .else
+ .if empty(IDENT:M-DMVME147) && empty(IDENT:M-DMVME162) && empty(IDENT:M-DMVME167)
+-CMACHFLAGS=	-m68060 -Wa,-m68030 -Wa,-m68851
++CMACHFLAGS=	-m68060 -Wa,-mcpu=68030 -Wa,-m68851
+ .else
+-CMACHFLAGS=	-m68020-60 -Wa,-m68030 -Wa,-m68851
++CMACHFLAGS=	-m68020-60 -Wa,-mcpu=68030 -Wa,-m68851
+ .endif
+ .endif
+ CFLAGS+=	${CMACHFLAGS} -msoft-float

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645