From: Sam Ravnborg Date: Sat, 30 Apr 2005 23:51:42 +0000 (-0700) Subject: [PATCH] kbuild: Set NOSTDINC_FLAGS late to speed up compile (a little) X-Git-Tag: v2.6.12-rc4~136^2~187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e6993178344eb348f60f05b16d9dc30db3b9cf;p=pandora-kernel.git [PATCH] kbuild: Set NOSTDINC_FLAGS late to speed up compile (a little) Move definition of NOSTDINC_FLAGS below inclusion of arch Makefile, so any arch specific settings to $(CC) takes effect before looking up the compiler include directory. The previous solution that replaced ':=' with '=' caused gcc to be invoked one additional time for each directory visited. This decreases kernel compile time with 0.1 second (3.6 -> 3.5 seconds) when running make on a fully built kernel Signed-off-by: Sam Ravnborg Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed