From 4d2b059d5e51c6cd6cca3cc775268039657d3317 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 12 Aug 2008 18:19:08 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/gcc.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a49a7bc3012..a8e5621e462 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-08-12 Nathan Froyd + + PR libgomp/26165 + + * gcc.c (include_spec_function): Tweak call to find_a_file. + 2008-08-12 Jakub Jelinek PR middle-end/37014 diff --git a/gcc/gcc.c b/gcc/gcc.c index 8c0aa820c58..75dc67d0e8e 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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;