On 24/10/2013 10:58, Adam Carter wrote: > The CFLAGs used when building the kernel are set in the Makefile; > # grep HOSTCFLAGS /usr/src/linux/Makefile > HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 > -fomit-frame-pointer > > To build with other flags you set CFLAGS_KERNEL, so i've added a > suitable -march to the standard ones for my system; > export CFLAGS_KERNEL=" -Wall -Wmissing-prototypes -Wstrict-prototypes > -O2 -fomit-frame-pointer -pipe -march=amdfam10" > > then make, install, reboot. In my case the riced kernel is the same size > as the regular one, but the md5 is different. Its been up for an hour > with no obvious issues, and does seem snappier, but of course my brain > is full of cognitive bias. Has anyone else played with this? Any good or > bad outcomes? >
James is the boy to answer up here. He'll give you a decent answer sans cognitive bias. I see all you've done is specify -march; what does the build system build for without that setting? -- Alan McKinnon alan.mckin...@gmail.com