Message ID | 1470648927-15590-1-git-send-email-npiggin@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Nicholas Piggin <npiggin@gmail.com> writes: > vdso32 should be built with `gcc -m32 --big-endian` when compiling a big > endian kernel. I think I have a better solution. Patch coming RSN. cheers
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 709a22a..bf183b2a 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -82,6 +82,8 @@ else ifeq ($(call cc-option-yn,-mbig-endian),y) override CC += -mbig-endian override AS += -mbig-endian +override CROSS32CC += -mbig-endian +override CROSS32AS += -mbig-endian endif override LD += -EB LDEMULATION := ppc
vdso32 should be built with `gcc -m32 --big-endian` when compiling a big endian kernel. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- arch/powerpc/Makefile | 2 ++ 1 file changed, 2 insertions(+)