On Wed, 25 Nov 2020, Jakub Jelinek wrote: > On Wed, Nov 25, 2020 at 04:30:44PM +0100, Richard Biener wrote: > > This fixes the search when configured with --libexecdir=lib64, > > I've adjusted the bin reference for consistency. > > > > Testing in progress. Does this look sensible? > > > > 2020-11-25 Richard Biener <rguent...@suse.de> > > > > libgomp/ > > * configure: Regenerate. > > * plugin/configfrag.ac (offload_additional_options): Use > > $(libexecdir) and $(bindir) instead of hard-coding them. > > LGTM. > > Jakub.
Hmm, but $(libexecdir) includes the prefix, thus expands to /usr/lib64 for me. So what's the tgt_dir used for besides populating offload_additional_options? That said, in this very spot not specifying it would work for me I guess, historically I have used /usr/nvptx as path for reasons I do not remember :/ (newlib is installed in this location) Richard.