Преглед на файлове

gcc: Link with the `.lo' file of dependencies, not the `.o' file.

* gcc-plugin/tests/run-test.in (compile/match)[c->o]: Return the `.lo'
  file, not the `.o' file.
Ludovic Courtès преди 14 години
родител
ревизия
a4f02a3e28
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      gcc-plugin/tests/run-test.in

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

@@ -283,7 +283,7 @@ otherwise."
 
   (define (c->o c-file)
     (string-append (substring c-file 0 (- (string-length c-file) 2))
-                   ".o"))
+                   ".lo"))
 
   (log "~a directives found in `~a'" (length directives) file)