Messages in this thread | | | Date | Thu, 13 Sep 2012 06:16:39 -0300 | Subject | Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING | From | Ezequiel Garcia <> |
| |
On Thu, Sep 13, 2012 at 4:17 AM, Michal Marek <mmarek@suse.cz> wrote: > 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> >
Yeah, that's what I meant, sorry.
Ezequiel.
| |