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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site