From: Alexey Dobriyan Date: Sat, 25 Jun 2005 21:55:36 +0000 (-0700) Subject: [PATCH] Makefile: s/gcc-option/cc-option/ X-Git-Tag: v2.6.13-rc1~68^2~168 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ae67cd643e9e64217fd92457324625c67fec6e35;p=linux-2.6-omap-h63xx.git [PATCH] Makefile: s/gcc-option/cc-option/ Fixes http://bugme.osdl.org/show_bug.cgi?id=4726 Signed-off-by: Alexey Dobriyan Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index fad349724e9..1fdace757e1 100644 --- a/Makefile +++ b/Makefile @@ -281,7 +281,7 @@ export quiet Q KBUILD_VERBOSE # See documentation in Documentation/kbuild/makefiles.txt # cc-option -# Usage: cflags-y += $(call gcc-option, -march=winchip-c6, -march=i586) +# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586) cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)