From 838ab6b670ca1bd2137ebe814bc6b7b1460d6a48 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 21 Jul 2006 14:07:48 +0000 Subject: [PATCH] Grr we also need to set -mbig-endian to LDFLAGS. Now I can build a big-endian arm world. --- share/mk/bsd.cpu.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index b9b368864a75..e45dd48d99e9 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -189,6 +189,7 @@ _CPUCFLAGS += -mieee .if ${MACHINE_ARCH} == "arm" && defined(ARM_BIG_ENDIAN) CFLAGS += -mbig-endian +LDFLAGS += -mbig-endian LD += -EB .endif