diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-06-25 17:55:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:37 -0400 |
commit | ae67cd643e9e64217fd92457324625c67fec6e35 (patch) | |
tree | 06a5c47af9d7b7282a1910e67f74fa538444cd01 /Makefile | |
parent | 4d0145a7deab4027a0f0a7de74c2d103b8f029cf (diff) |
[PATCH] Makefile: s/gcc-option/cc-option/
Fixes http://bugme.osdl.org/show_bug.cgi?id=4726
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -281,7 +281,7 @@ export quiet Q KBUILD_VERBOSE | |||
281 | # See documentation in Documentation/kbuild/makefiles.txt | 281 | # See documentation in Documentation/kbuild/makefiles.txt |
282 | 282 | ||
283 | # cc-option | 283 | # cc-option |
284 | # Usage: cflags-y += $(call gcc-option, -march=winchip-c6, -march=i586) | 284 | # Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586) |
285 | 285 | ||
286 | cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ | 286 | cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ |
287 | > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) | 287 | > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) |