mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[PATCH] Makefile: s/gcc-option/cc-option/
Fixes http://bugme.osdl.org/show_bug.cgi?id=4726 Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Sam Ravnborg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
4d0145a7de
commit
ae67cd643e
1 file changed
+1
-1
@@ -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 ;)
|
||||
|
||||
Reference in new issue
Block a user