Messages in this thread | | | Date | Thu, 13 Sep 2012 09:17:06 +0200 | From | Michal Marek <> | Subject | Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING |
| |
Dne 13.9.2012 02:30, Ezequiel Garcia napsal(a): > Hi, > > On Sun, Sep 9, 2012 at 6:25 PM, David Rientjes <rientjes@google.com> wrote: >> On Sat, 8 Sep 2012, Ezequiel Garcia wrote: >> >>> diff --git a/Makefile b/Makefile >>> index ddf5be9..df6045a 100644 >>> --- a/Makefile >>> +++ b/Makefile >>> @@ -561,6 +561,10 @@ else >>> KBUILD_CFLAGS += -O2 >>> endif >>> >>> +ifdef CONFIG_DISABLE_GCC_AUTOMATIC_INLINING >>> +KBUILD_CFLAGS += -fno-inline-small-functions >> >> This isn't the only option that controls automatic inlining of functions, >> see indirect-inlining, inline-functions, and inline-functions-called-once. >> > > I'll check about this gcc options and re-send, renamed as: > CONFIG_DISABLE_CC_AUTOMATIC_INLINING
Please name it CONFIG_CC_<something>
Michal
| |