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 > compilation? you don't touch kernel cflags. 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 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? no