]> git.ipfire.org Git - thirdparty/gcc.git/commit
lto-plugin: use -pthread only for detected targets
authorMartin Liska <mliska@suse.cz>
Thu, 14 Jul 2022 07:51:33 +0000 (09:51 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 14 Jul 2022 11:26:21 +0000 (13:26 +0200)
commit29f40a8047fa9b6ccde2174ca126b78a535e1a61
tree2cc86628d3374288c99cec8bf729f7cedce24998
parentb0f02eeb906b6351099ac97066ef74b6167d9ecb
lto-plugin: use -pthread only for detected targets

Use -pthread only if we are going to use pthread functionality.

PR bootstrap/106156

lto-plugin/ChangeLog:

* Makefile.am: Use ac_lto_plugin_extra_ldflags for AM_LDFLAGS.
* configure.ac: Use AC_SUBST(ac_lto_plugin_extra_ldflags).
* Makefile.in: Regenerate.
* configure: Regenerate.
lto-plugin/Makefile.am
lto-plugin/Makefile.in
lto-plugin/configure
lto-plugin/configure.ac