public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] CFLAGs for kernel compilation
@ 2015-04-29 11:31 Ralf
  2015-04-29 12:33 ` Neil Bothwick
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Ralf @ 2015-04-29 11:31 UTC (permalink / raw
  To: gentoo-user

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?

- I don't like invoking 'CFLAGS="-O2 -march=foo"make'
- I don't want to set CFLAGS as a persistent environment variable.
- I don't want to modify the kernel Makefile

Does it actually make sense to set an optimization level and -march?

Cheers
  Ralf


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-05-02 18:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 11:31 [gentoo-user] CFLAGs for kernel compilation Ralf
2015-04-29 12:33 ` Neil Bothwick
2015-04-29 12:41   ` Emanuele Rusconi
2015-04-29 13:18     ` Ralf
2015-04-29 13:35       ` [gentoo-user] " Holger Hoffstätte
2015-04-29 23:52         ` Nikos Chantziaras
2015-04-30  0:01           ` Nikos Chantziaras
2015-04-30 16:27       ` [gentoo-user] " Volker Armin Hemmann
2015-04-30  7:11     ` Adam Carter
2015-04-30  9:38 ` Andrew Savchenko
2015-05-01  5:09   ` [gentoo-user] " Martin Vaeth
2015-05-01  7:44     ` Andrew Savchenko
2015-05-01 17:21       ` James
2015-05-02  5:04       ` Nikos Chantziaras
2015-05-02 11:19         ` Volker Armin Hemmann
2015-05-02 11:25           ` Nikos Chantziaras
2015-05-02 11:37             ` Volker Armin Hemmann
2015-05-02 12:06               ` Nikos Chantziaras
2015-05-02 12:10                 ` Volker Armin Hemmann
2015-05-02 12:38                   ` Nikos Chantziaras
2015-05-02 17:04                     ` Volker Armin Hemmann
2015-05-02 18:34                       ` James
2015-04-30 16:26 ` [gentoo-user] " Volker Armin Hemmann
2015-04-30 17:45   ` Andrew Savchenko
2015-04-30 18:11     ` Volker Armin Hemmann
2015-04-30 18:28       ` Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox