summaryrefslogtreecommitdiffstats
path: root/patches/glibc-2.8/generic/gentoo/1050_all_glibc-posix-awk.patch
blob: 1862c68e5b0e91ea60469d30ecc21afec94bb05d (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.8-20080811/elf/Makefile
===================================================================
--- glibc-2.8-20080811.orig/elf/Makefile
+++ glibc-2.8-20080811/elf/Makefile
@@ -307,7 +307,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)"' \