re PR libgomp/26165 (Cannot find libgomp.spec after 'make install' on x86_64 and...
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 12 Aug 2008 18:19:08 +0000 (18:19 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 12 Aug 2008 18:19:08 +0000 (18:19 +0000)
PR libgomp/26165

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

From-SVN: r139031

gcc/ChangeLog
gcc/gcc.c

index a49a7bc30127cdedf85265fb4e9ecb23a7b2af65..a8e5621e462b6f6f80aa816ff4bdf8ab26760d99 100644 (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
index 8c0aa820c586245a6a6a77ac1fc2e16dab3a575f..75dc67d0e8ee9c87c719c1e7ffd673c78dba82b7 100644 (file)
--- 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;