I get that. But configure in the gcc sources doesn't actually process
those. So while they are in rules2, it doesn't actually change anything.

See
https://github.com/gcc-mirror/gcc/blob/da8dff89fa9398f04b107e388cb706517ced9505/configure
and search for with-cpu (which would catch both --with-cpu-32 and
--with-cpu-64), and you won't find it there.

Bas Vermeulen

On Tue, Feb 6, 2018 at 7:25 PM, John Paul Adrian Glaubitz <
glaub...@physik.fu-berlin.de> wrote:

> On 02/06/2018 07:22 PM, Bas Vermeulen wrote:
> > I just checked gcc's configure, and that doesn't take --with-cpu= as an
> argument. It doesn't fail when it has it, but it doesn't actually do
> anything with it
> > either.
> > So my patch would be the correct way to handle this.
>
> That's because you have to use --with-cpu-32 and --with-cpu-64, see:
>
> > https://sources.debian.org/src/gcc-7/7.3.0-1/debian/rules2/#L390
>
> It's in the very same file I linked :).
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>

Reply via email to