mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
[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>
This commit is contained in:
parent
4d0145a7de
commit
ae67cd643e
2
Makefile
2
Makefile
@ -281,7 +281,7 @@ export quiet Q KBUILD_VERBOSE
|
|||||||
# See documentation in Documentation/kbuild/makefiles.txt
|
# See documentation in Documentation/kbuild/makefiles.txt
|
||||||
|
|
||||||
# cc-option
|
# 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 \
|
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 ;)
|
> /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
|
||||||
|
Loading…
Reference in New Issue
Block a user