tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Softfloat on i386



Benny Siegert <bsiegert%netbsd.org@localhost> writes:

> I am a bit fuzzy, but I think that setting the variable when building
> wireguard-go should suffice. The compiler can always emit both. And
> the standard library is recompiled as needed. So if you set GO386 when
> building wireguard *only*, the package should still work on your 586
> machine.

In that view this not a PKG_OPTION for the go compiler, but a "CFLAGS+=
march=" sort of thing.

I thinks what abs@ is getting at is

  change the compiler build so that the default cpu is i386/softfloat.

rather than

  add cflags to pakckage builds

and to me that change-the-default option makes sense.


Home | Main Index | Thread Index | Old Index