summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-07-21 14:07:48 +0000
committercognet <cognet@FreeBSD.org>2006-07-21 14:07:48 +0000
commitbdb0150c3aaf1c675867554236ca3336cbb3e2be (patch)
tree1be449789cecb83f6788f3c007ba0278095e8d59 /share
parentc5a85a2c6dae9e1d2981df373701ac0e05914ce2 (diff)
downloadFreeBSD-src-bdb0150c3aaf1c675867554236ca3336cbb3e2be.zip
FreeBSD-src-bdb0150c3aaf1c675867554236ca3336cbb3e2be.tar.gz
Grr we also need to set -mbig-endian to LDFLAGS. Now I can build a
big-endian arm world.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.cpu.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index b9b3688..e45dd48 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
OpenPOWER on IntegriCloud