diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-05-05 23:01:36 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2022-05-12 15:11:30 +0200 |
commit | dcc266796a6afa18eeba1edde81f9eb78e6c83ce (patch) | |
tree | 93a894b66a4082ec7fb879779c69ad565fa995e5 /gcc | |
parent | dfda40f8147412328f699628a54b0aaa584776e7 (diff) | |
download | gcc-dcc266796a6afa18eeba1edde81f9eb78e6c83ce.zip gcc-dcc266796a6afa18eeba1edde81f9eb78e6c83ce.tar.gz gcc-dcc266796a6afa18eeba1edde81f9eb78e6c83ce.tar.bz2 |
Refactor '-ldl' handling for libgomp proper and plugins
Instead of implicit global 'LIBS="-ldl $LIBS"' via 'AC_CHECK_LIB', make
'-ldl' explicit for libgomp proper, and clean up 'PLUGIN_GCN_LIBS',
'PLUGIN_NVPTX_LIBS' accordingly.
libgomp/
* Makefile.am (libgomp_la_LIBADD): Initialize.
* plugin/configfrag.ac (DL_LIBS): New.
(PLUGIN_GCN_LIBS): Remove.
(PLUGIN_NVPTX_LIBS): Don't set in the 'PLUGIN_NVPTX_DYNAMIC' case.
* plugin/Makefrag.am (libgomp_la_LIBADD)
(libgomp_plugin_gcn_la_LIBADD): Consider '$(DL_LIBS)'.
(libgomp_plugin_nvptx_la_LIBADD) <PLUGIN_NVPTX_DYNAMIC>: Likewise.
* Makefile.in: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions