diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-06-25 14:55:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 16:24:37 -0700 |
commit | ae67cd643e9e64217fd92457324625c67fec6e35 (patch) | |
tree | 06a5c47af9d7b7282a1910e67f74fa538444cd01 | |
parent | 4d0145a7deab4027a0f0a7de74c2d103b8f029cf (diff) | |
download | op-kernel-dev-ae67cd643e9e64217fd92457324625c67fec6e35.zip op-kernel-dev-ae67cd643e9e64217fd92457324625c67fec6e35.tar.gz |
[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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ;) |