libgomp nvptx plugin: Only consider '--with-cuda-driver=[...]' when applicable
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 12 May 2022 15:51:43 +0000 (17:51 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 13 May 2022 12:01:01 +0000 (14:01 +0200)
commit1f89e48789d230c78ec60ff3dc9e7e2478cc3df9
treeac18bb965f3574823de643c89385b2bcbf3d2d97
parent04c0a88aabe8f73f87d6b756aaa0925e58229c99
libgomp nvptx plugin: Only consider '--with-cuda-driver=[...]' when applicable

They're not applicable in 'PLUGIN_NVPTX_DYNAMIC' configurations.

libgomp/
* plugin/Makefrag.am (libgomp_plugin_nvptx_la_CPPFLAGS)
[PLUGIN_NVPTX_DYNAMIC]: Don't append '$(PLUGIN_NVPTX_CPPFLAGS)'.
(libgomp_plugin_nvptx_la_LDFLAGS) [PLUGIN_NVPTX_DYNAMIC]: Don't
append '$(PLUGIN_NVPTX_LDFLAGS)'.
* Makefile.in: Regenerate.
libgomp/Makefile.in
libgomp/plugin/Makefrag.am