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

Commit

Permalink
arch/loongson3: limit LTO quirk to GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed Apr 22, 2021
1 parent 974caa4 commit 582942d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/loongson3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
##@copyright GPL-2.0+
CFLAGS_GCC_ARCH='-mabi=64 -march=gs464 -mtune=gs464e -mfix-loongson3-llsc -mxgot -flto-partition=none '
CFLAGS_CLANG_ARCH='-mabi=64 -march=mips64r2 -mtune=mips64r2 '
LDFLAGS_COMMON_OPTI_LTO="${LDFLAGS_COMMON_OPTI_LTO} -mxgot -flto-partition=none "
LDFLAGS_GCC_OPTI_LTO="${LDFLAGS_COMMON_OPTI_LTO} -mxgot -flto-partition=none "
RUSTFLAGS_COMMON_OPTI_LTO="${RUSTFLAGS_COMMON_OPTI_LTO} -Clink-arg=-Wl,-build-id=sha1 -Clink-arg=-Wl,-z,notext "

0 comments on commit 582942d

Please sign in to comment.