projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2be237
)
powerpc: Avoid -maltivec when using clang integrated assembler
author
Anton Blanchard
<anton@samba.org>
Wed, 25 Nov 2015 23:45:49 +0000
(10:45 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 5 Jul 2016 13:58:53 +0000
(23:58 +1000)
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>
arch/powerpc/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index 709a22a3e824e334be9847d568124ef27f385703..b41f4c600a65becd3d8a4eaf72669483ee309e8c 100644
(file)
--- 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)