mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-24 04:30:23 +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
|
||||
|
||||
# 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 ;)
|
||||
|
Loading…
Reference in New Issue
Block a user