]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: Define HAVE_AS_TLS to 0 if it's undefined [PR112299]
authorXi Ruoyao <xry111@xry111.site>
Mon, 30 Oct 2023 11:39:27 +0000 (19:39 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Thu, 22 Feb 2024 03:15:48 +0000 (11:15 +0800)
commit09de4b6b22bd66dacdade65ce633f29f302363b5
tree0958c790f5c358dcf8845b5330eee30c03d830af
parent186381812dce832c95cc5c4ace47b0efb0aee41f
LoongArch: Define HAVE_AS_TLS to 0 if it's undefined [PR112299]

Now loongarch.md uses HAVE_AS_TLS, we need this to fix the failure
building a cross compiler if the cross assembler is not installed yet.

gcc/ChangeLog:

PR target/112299
* config/loongarch/loongarch-opts.h (HAVE_AS_TLS): Define to 0
if not defined yet.

(cherry picked from commit 6bf2cebe2bf49919c78814cb447d3aa6e3550d89)
gcc/config/loongarch/loongarch-opts.h