summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.13/0012-posix-awk.patch
blob: a20fad552c01a67c252a24b4171e077a4511cda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
http://bugs.gentoo.org/202511

2007-12-24  Mike Frysinger  <vapier@gentoo.org>

	* elf/Makefile ($(objpfx)ld.so): Use POSIX (EF)? in awk.

---
 elf/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: glibc-2.13/elf/Makefile
===================================================================
--- glibc-2.13.orig/elf/Makefile
+++ glibc-2.13/elf/Makefile
@@ -389,7 +389,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld
 		  -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)"' \