re PR libgomp/26165 (Cannot find libgomp.spec after 'make install' on x86_64 and ppc64)

PR libgomp/26165

	* gcc.c (include_spec_function): Tweak call to find_a_file.

From-SVN: r139031
This commit is contained in:
Nathan Froyd 2008-08-12 18:19:08 +00:00 committed by Nathan Froyd
parent c028590539
commit 4d2b059d5e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-08-12 Nathan Froyd <froydnj@codesourcery.com>
PR libgomp/26165
* gcc.c (include_spec_function): Tweak call to find_a_file.
2008-08-12 Jakub Jelinek <jakub@redhat.com>
PR middle-end/37014

View File

@ -8044,7 +8044,7 @@ include_spec_function (int argc, const char **argv)
if (argc != 1)
abort ();
file = find_a_file (&startfile_prefixes, argv[0], R_OK, 0);
file = find_a_file (&startfile_prefixes, argv[0], R_OK, true);
read_specs (file ? file : argv[0], FALSE);
return NULL;