Redirect check-localplt output to check-localplt.out.
authorRoland McGrath <roland@hack.frob.com>
Tue, 1 May 2012 20:30:55 +0000 (13:30 -0700)
committerRoland McGrath <roland@hack.frob.com>
Tue, 1 May 2012 20:30:55 +0000 (13:30 -0700)
ChangeLog
elf/Makefile

index 924920f..66deec2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-05-01  Roland McGrath  <roland@hack.frob.com>
 
+       * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
+       output to the target.
+
        * scripts/localplt.awk: New file.
        * elf/Makefile ($(objpfx)check-localplt): Target removed.
        (check-localplt-CFLAGS): Variable removed.
index 0b5359f..57dcab0 100644 (file)
@@ -958,7 +958,8 @@ $(objpfx)check-localplt.out: $(..)scripts/check-localplt.awk \
                             $(localplt-built-dso:=.jmprel) \
                             $(check-data)
        LC_ALL=C $(AWK) -f $(filter-out $< $(check-data),$^) | \
-         LC_ALL=C $(AWK) -f $< $(check-data) -
+         LC_ALL=C $(AWK) -f $< $(check-data) - \
+         > $@
 endif
 
 $(objpfx)tst-dlopenrpathmod.so: $(libdl)