lkml.org 
[lkml]   [2009]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] fix detection of CONFIG_FRAME_WARN=0
    Date
    The checking of CONFIG_FRAME_WARN in the top level Makefile forgot to
    actually derefence the variable thus leading to an always true check.

    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    CC: Andi Kleen <ak@suse.de>
    CC: Sam Ravnborg <sam@ravnborg.org>
    ---
    Makefile | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/Makefile b/Makefile
    index 739fd34..47c8d11 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -533,7 +533,7 @@ endif

    include $(srctree)/arch/$(SRCARCH)/Makefile

    -ifneq (CONFIG_FRAME_WARN,0)
    +ifneq ($(CONFIG_FRAME_WARN),0)
    KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
    endif

    --
    1.6.3


    \
     
     \ /
      Last update: 2009-05-24 01:41    [W:0.018 / U:62.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site