Fix build failure on macOS
[deliverable/binutils-gdb.git] / gold / testsuite / incremental_test.sh
index 3691ad354a7f03369a48997a5d50f91b46632392..649f88863c54bf8352ce5dd2ade369d04dbd2404 100755 (executable)
@@ -2,7 +2,7 @@
 
 # incremental_test.sh -- test that incremental linking information is correct.
 
-# Copyright (C) 2009-2016 Free Software Foundation, Inc.
+# Copyright (C) 2009-2019 Free Software Foundation, Inc.
 # Written by Rafael Avila de Espindola <espindola@google.com>
 # and Cary Coutant <ccoutant@google.com>
 
@@ -49,7 +49,7 @@ check()
 
 # Extract actual command line from linker's -v output.
 cat incremental_test.cmdline |
-  grep "gcctestdir/ld " |
+  grep "gcctestdir/\(collect-\)\?ld " |
   sed "s/--incremental[-a-z]* //g" |
   cut -d ' ' -f 2- > actual
 
This page took 0.024569 seconds and 4 git commands to generate.