2007-10-19 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sat, 20 Oct 2007 00:54:16 +0000 (00:54 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 20 Oct 2007 00:54:16 +0000 (00:54 +0000)
* elf/Makefile ($(objpfx)ld.so): Use $(AWK).
* scripts/check-errnos.sh: Likewise.

elf/Makefile

index 2943acc..e5812e3 100644 (file)
@@ -308,7 +308,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
                  -Wl,-soname=$(rtld-installed-name) -T $@.lds
        rm -f $@.lds
        readelf -s $@ \
-         | awk '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
+         | $(AWK) '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
 
 # interp.c exists just to get this string into the libraries.
 CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \