Page MenuHomeFreeBSD

D8505.diff
No OneTemporary

D8505.diff

Index: share/mk/bsd.cpu.mk
===================================================================
--- share/mk/bsd.cpu.mk
+++ share/mk/bsd.cpu.mk
@@ -303,9 +303,22 @@
.if ${MACHINE_CPUARCH} == "mips"
CFLAGS += -G0
-.if ${MACHINE_ARCH:Mmips*hf}
+. if ${MACHINE_ARCH:Mmips*el*} != ""
+ACFLAGS += -EL
+AFLAGS += -EL
+CFLAGS += -EL
+LDFLAGS += -EL
+. else
+ACFLAGS += -EB
+AFLAGS += -EB
+CFLAGS += -EB
+LDFLAGS += -EB
+. endif
+. if ${MACHINE_ARCH:Mmips*hf}
CFLAGS += -mhard-float
-.endif
+. else
+CFLAGS += -msoft-float
+. endif
.endif
########## arm

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 20, 6:43 AM (6 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31824032
Default Alt Text
D8505.diff (554 B)

Event Timeline