Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 3d64896

Browse files
committed
arch/loongarch64.sh: add -flto-partition=none ...
... to workaround an issue with the linker when LTO is enabled
1 parent 1f5e019 commit 3d64896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongarch64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
##arch/loongarch64.sh: Build definitions for Loongson 3A/B 5000.
33
##@copyright GPL-2.0+
44

5-
CFLAGS_GCC_ARCH='-mabi=lp64d -march=loongarch64 -mtune=la464 -mlsx'
5+
CFLAGS_GCC_ARCH='-mabi=lp64d -march=loongarch64 -mtune=la464 -mlsx -flto-partition=none'
66

77
# Position-independent executable buildmode is not available on the LoongArch
88
# architecture. Removing for the loongarch64 (loong64) target.

0 commit comments

Comments
 (0)