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

Commit bf94889

Browse files
committed
arch/loongson3: move -flto-partition=none away from common flags
1 parent 33d8ec8 commit bf94889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/loongson3.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22
##arch/loongson3.sh: Build definitions for Loongson 3A/B 1000-4000+.
33
##@copyright GPL-2.0+
4-
CFLAGS_GCC_ARCH='-mabi=64 -march=gs464 -mtune=gs464e -mfix-loongson3-llsc -mxgot -flto-partition=none '
4+
CFLAGS_GCC_ARCH='-mabi=64 -march=gs464 -mtune=gs464e -mfix-loongson3-llsc -mxgot '
55
CFLAGS_CLANG_ARCH='-mabi=64 -march=mips64r2 -mtune=mips64r2 '
6+
CFLAGS_GCC_OPTI_LTO="${CFLAGS_COMMON_OPTI_LTO} -flto-partition=none "
67
LDFLAGS_GCC_OPTI_LTO="${LDFLAGS_COMMON_OPTI_LTO} -mxgot -flto-partition=none "
78
RUSTFLAGS_COMMON_OPTI_LTO="${RUSTFLAGS_COMMON_OPTI_LTO} -Clink-arg=-Wl,-build-id=sha1 -Clink-arg=-Wl,-z,notext "

0 commit comments

Comments
 (0)