Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153116231
D8505.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
554 B
Referenced Files
None
Subscribers
None
D8505.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8505: Set endianness and floating point flags explicitly for MIPS targets
Attached
Detach File
Event Timeline
Log In to Comment