Page MenuHomeFreeBSD

D25730.id74659.diff
No OneTemporary

D25730.id74659.diff

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

Mime Type
text/plain
Expires
Tue, Oct 6, 9:12 AM (15 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40213481
Default Alt Text
D25730.id74659.diff (606 B)

Event Timeline