>> I searched for a way to set gcc's -march globally, for the whole distro,
>> is this possible with guix ?
>
> It’s possible, but inconvenient: you’d have to modify (guix build
> gnu-build-system), or to add a GCC wrapper that appends “-march=foo”.

OK thanks, I'll try it

> However, because you’d be building things differently, you wouldn’t be
> able to use substitutes provided by mirror.hydra.gnu.org.
>
> Likewise, binaries built on your machine may be unusable on other
> machines, if you use -march=native or similar.

Yes, I know the consequences, I'm not distributing the resulting system.

-- 
Vincent Legoll

Reply via email to