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

Commit 582942d

Browse files
committed
arch/loongson3: limit LTO quirk to GCC
1 parent 974caa4 commit 582942d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongson3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
##@copyright GPL-2.0+
44
CFLAGS_GCC_ARCH='-mabi=64 -march=gs464 -mtune=gs464e -mfix-loongson3-llsc -mxgot -flto-partition=none '
55
CFLAGS_CLANG_ARCH='-mabi=64 -march=mips64r2 -mtune=mips64r2 '
6-
LDFLAGS_COMMON_OPTI_LTO="${LDFLAGS_COMMON_OPTI_LTO} -mxgot -flto-partition=none "
6+
LDFLAGS_GCC_OPTI_LTO="${LDFLAGS_COMMON_OPTI_LTO} -mxgot -flto-partition=none "
77
RUSTFLAGS_COMMON_OPTI_LTO="${RUSTFLAGS_COMMON_OPTI_LTO} -Clink-arg=-Wl,-build-id=sha1 -Clink-arg=-Wl,-z,notext "

0 commit comments

Comments
 (0)