[gentoo-user] Re: CFLAGs for kernel compilation

2015-04-30 Thread Martin Vaeth
Andrew Savchenko wrote: > > That's why kernel makes sure that no floating point instructions > sneaks in using CFLAGS, you may see a lot of -mno-${intrucion_set} > flags when running make -V. So it should be sufficient that the kernel does not use "float" or "double", shouldn't it? I can hardly i

Re: [gentoo-user] Re: wpa_supplicant cannot find crypto routines

2015-04-30 Thread Mick
On Thursday 30 Apr 2015 17:53:08 Justin Findlay wrote: > On 04/29/2015 12:53 PM, Mick wrote: > > On Tuesday 28 Apr 2015 23:35:31 walt wrote: > >> On 04/28/2015 09:59 AM, Justin Findlay wrote: > >>> I'm wondering if I have an unusual USE flags situation that is causing > >>> this > >> > >> In lieu

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Andrew Savchenko
On Thu, 30 Apr 2015 20:11:52 +0200 Volker Armin Hemmann wrote: > Am 30.04.2015 um 19:45 schrieb Andrew Savchenko: > > Hi, > > > > On Thu, 30 Apr 2015 18:26:22 +0200 Volker Armin Hemmann wrote: > >> That simple. The kernel is too important and the people programming it > >> know what they are doing.

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Volker Armin Hemmann
Am 30.04.2015 um 19:45 schrieb Andrew Savchenko: > Hi, > > On Thu, 30 Apr 2015 18:26:22 +0200 Volker Armin Hemmann wrote: >> That simple. The kernel is too important and the people programming it >> know what they are doing. Don't set anything. It is retarded. >>> - I don't like invoking 'CFLAGS="-

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Andrew Savchenko
Hi, On Thu, 30 Apr 2015 18:26:22 +0200 Volker Armin Hemmann wrote: > That simple. The kernel is too important and the people programming it > know what they are doing. Don't set anything. It is retarded. > > > > - I don't like invoking 'CFLAGS="-O2 -march=foo"make' > > - I don't want to set CFLAGS

Re: [gentoo-user] Re: wpa_supplicant cannot find crypto routines

2015-04-30 Thread Justin Findlay
On 04/29/2015 12:53 PM, Mick wrote: > On Tuesday 28 Apr 2015 23:35:31 walt wrote: >> On 04/28/2015 09:59 AM, Justin Findlay wrote: >>> I'm wondering if I have an unusual USE flags situation that is causing >>> this >> >> In lieu of an informed opinion (which you've not been offered yet) I can >> sa

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Volker Armin Hemmann
Am 29.04.2015 um 15:18 schrieb Ralf: > Damn, you're absolutely right. > > I just tested it using make V=1. > kernel make does override CFLAGs from the outside. > > But that's interesting: my processor supports -march=core-avx2 and none > of the linux kernel processor family uses this flag... that

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Volker Armin Hemmann
Am 29.04.2015 um 13:31 schrieb Ralf: > Hi, > > just a short question: I don't like genkernel, I always compile my > kernel manually using menuconfig. > So the CFLAGs of my make.conf won't get applied. as it should be. > > What is the best way to (persistently) set the CFLAGs for the kernel > compi

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Andrew Savchenko
On Wed, 29 Apr 2015 13:31:13 +0200 Ralf wrote: > Hi, > > just a short question: I don't like genkernel, I always compile my > kernel manually using menuconfig. > So the CFLAGs of my make.conf won't get applied. > > What is the best way to (persistently) set the CFLAGs for the kernel > compilation

Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-30 Thread Adam Carter
On Wed, Apr 29, 2015 at 10:41 PM, Emanuele Rusconi wrote: > > > - I don't like invoking 'CFLAGS="-O2 -march=foo"make' > > - I don't want to set CFLAGS as a persistent environment variable. > > Does the kernel building use the CFLAGS at all? > You probably want CFLAGS_KERNEL and maybe CFLAGS_MOD