diff options
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r-- | scripts/Kbuild.include | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 7adef12a0c26..4f5ff19b992b 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -66,8 +66,8 @@ as-option = $(shell if $(CC) $(CFLAGS) $(1) -Wa,-Z -c -o /dev/null \ | |||
66 | # as-instr | 66 | # as-instr |
67 | # Usage: cflags-y += $(call as-instr, instr, option1, option2) | 67 | # Usage: cflags-y += $(call as-instr, instr, option1, option2) |
68 | 68 | ||
69 | as-instr = $(shell if echo -e "$(1)" | $(AS) -Z -o astest$$$$.out \ | 69 | as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o astest$$$$.out ; \ |
70 | 2>&1 >/dev/null ; then echo "$(2)"; else echo "$(3)"; fi; \ | 70 | then echo "$(2)"; else echo "$(3)"; fi; \ |
71 | rm -f astest$$$$.out) | 71 | rm -f astest$$$$.out) |
72 | 72 | ||
73 | # cc-option | 73 | # cc-option |