]> git.ipfire.org Git - thirdparty/gcc.git/commit
rust: Do not link with libdl and libpthread unconditionally
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 12 Apr 2024 11:52:18 +0000 (13:52 +0200)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 12 Jun 2024 08:29:11 +0000 (08:29 +0000)
commita45362e582e24f7997edc25dde660297bde710f5
treec2daeea08549bab45b1780edd8f74f1acea90065
parent14c4c2f142d1908e8e93aa15d49f61f97f060727
rust: Do not link with libdl and libpthread unconditionally

ChangeLog:

* Makefile.tpl: Add CRAB1_LIBS variable.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check if -ldl and -lpthread are needed, and if so, add
them to CRAB1_LIBS.

gcc/rust/ChangeLog:

* Make-lang.in: Remove overazealous LIBS = -ldl -lpthread line, link
crab1 against CRAB1_LIBS.
Makefile.in
Makefile.tpl
configure
configure.ac
gcc/rust/Make-lang.in