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 /libgomp/config.h.in | |
parent | dfda40f8147412328f699628a54b0aaa584776e7 (diff) | |
download | gcc-dcc266796a6afa18eeba1edde81f9eb78e6c83ce.tar.gz |
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 'libgomp/config.h.in')
-rw-r--r-- | libgomp/config.h.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libgomp/config.h.in b/libgomp/config.h.in index d971ea38c46..46d3eac1e61 100644 --- a/libgomp/config.h.in +++ b/libgomp/config.h.in @@ -51,9 +51,6 @@ /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `dl' library (-ldl). */ -#undef HAVE_LIBDL - /* Define to 1 if you have the `memalign' function. */ #undef HAVE_MEMALIGN |