From: Alexey Dobriyan Date: Sat, 25 Jun 2005 21:55:36 +0000 (-0700) Subject: [PATCH] Makefile: s/gcc-option/cc-option/ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ae67cd643e9e64217fd92457324625c67fec6e35;p=openwrt%2Fstaging%2Fblogic.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 fad349724e99..1fdace757e15 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 ;)