Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164297318
D25730.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
606 B
Referenced Files
None
Subscribers
None
D25730.id.diff
View Options
Index: usr.bin/gh-bc/Makefile
===================================================================
--- usr.bin/gh-bc/Makefile
+++ usr.bin/gh-bc/Makefile
@@ -54,8 +54,11 @@
MAN_SRC_DC= dc/A.1
# prevent floating point incompatibilities caused by -flto on some architectures
+#
+# External GCC disables LTO on aarch64
.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \
- ${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64
+ ${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64 && \
+ !(${COMPILER_TYPE} == "gcc" && ${MACHINE_ARCH} == "aarch64")
CFLAGS+= -flto
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 31, 12:41 PM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35784485
Default Alt Text
D25730.id.diff (606 B)
Attached To
Mode
D25730: Disable LTO on aarch64 when using GCC.
Attached
Detach File
Event Timeline
Log In to Comment