Re: CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-27 Thread Christos Zoulas
The condition is reversed. I will fix.

christos

> On Apr 26, 2021, at 10:31 PM, Rin Okuyama  wrote:
> 
> Hi,
> 
> On 2021/04/26 7:25, Christos Zoulas wrote:
>> --- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15  Sun Apr 11 
>> 20:05:56 2021
>> +++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile   Sun Apr 25 18:25:55 2021
> (snip)
>> -.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
>> +.if ${MACHINE_MIPS64}
>>  COPTS.c-common.c+=-O3
>>  .endif
> 
> This was hack for mips32:
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile#rev1.12
> 
> Does mips64 require it? Also for 
> external/gpl3/gcc/usr.bin/cc1objplus/Makefile.
> 
> Thanks,
> rin



signature.asc
Description: Message signed with OpenPGP


Re: CVS commit: src/external/gpl3/gcc/usr.bin/cc1plus

2021-04-26 Thread Rin Okuyama

Hi,

On 2021/04/26 7:25, Christos Zoulas wrote:

--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.15 Sun Apr 11 20:05:56 2021
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile  Sun Apr 25 18:25:55 2021

(snip)

-.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_MIPS64}
  COPTS.c-common.c+=-O3
  .endif


This was hack for mips32:

http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile#rev1.12

Does mips64 require it? Also for external/gpl3/gcc/usr.bin/cc1objplus/Makefile.

Thanks,
rin