Browse Source

gcc: Fix another out-of-tree build issue.

* gcc-plugin/tests/run-test.in (compile/match): Prepend %SRCDIR to
  DEPENDENCIES.  Reported by Olivier Aumage.
Ludovic Courtès 13 years ago
parent
commit
0b8e3ffd54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gcc-plugin/tests/run-test.in

+ 1 - 1
gcc-plugin/tests/run-test.in

@@ -311,7 +311,7 @@ otherwise."
                 file (length dependencies) dependencies))
 
     (and (every (cut compile/match <> cc cflags ldflags)
-                dependencies)
+                (map (cut string-append %srcdir "/" <>) dependencies))
          (let*-values (((goal)
                         (if error-expected?
                             'compile