-
- Downloads
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.
Showing
- libgomp/Makefile.am 1 addition, 0 deletionslibgomp/Makefile.am
- libgomp/Makefile.in 4 additions, 4 deletionslibgomp/Makefile.in
- libgomp/config.h.in 0 additions, 3 deletionslibgomp/config.h.in
- libgomp/configure 4 additions, 12 deletionslibgomp/configure
- libgomp/plugin/Makefrag.am 6 additions, 2 deletionslibgomp/plugin/Makefrag.am
- libgomp/plugin/configfrag.ac 3 additions, 6 deletionslibgomp/plugin/configfrag.ac
- libgomp/testsuite/Makefile.in 1 addition, 1 deletionlibgomp/testsuite/Makefile.in
Loading
Please register or sign in to comment