[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc default args
From: |
Vincent Legoll |
Subject: |
Re: gcc default args |
Date: |
Mon, 18 Jul 2016 16:28:04 +0200 |
>> 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