diff options
author | Anton Blanchard <anton@samba.org> | 2015-11-26 10:45:49 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-05 23:58:53 +1000 |
commit | 9ddf0075f9184f1e1dabf7bfea6397b00ee17e46 (patch) | |
tree | 72f2150c0a57269fa6158201fb1c2ae90716cf72 | |
parent | e2be23712a9c8e3710c9e2684a3204bd20c685d6 (diff) |
powerpc: Avoid -maltivec when using clang integrated assembler
Check the assembler supports -maltivec by wrapping it with
call as-option.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 709a22a3e824..b41f4c600a65 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -221,7 +221,7 @@ KBUILD_CFLAGS += -mno-sched-epilog endif cpu-as-$(CONFIG_4xx) += -Wa,-m405 -cpu-as-$(CONFIG_ALTIVEC) += -Wa,-maltivec +cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec) cpu-as-$(CONFIG_E200) += -Wa,-me200 KBUILD_AFLAGS += $(cpu-as-y) |