summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-18 23:03:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-18 23:03:14 +0000
commit8eecdc92578d5bc0119b12ba77a7b40808e6e567 (patch)
treeb189e50dd166f5f624e317d6a98b671e6f27f60f /libc
parent2e70e3a982dba018063109f9c88bb58dacb6ce5f (diff)
This patch, based on a patch from Stefan Allius, lets us pick an
appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 79bccadf0..d91b4981d 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -64,7 +64,7 @@ initfini.s: initfini.c
$(CC) $(SAFECFLAGS) -I$(TOPDIR)include -c initfini.c -S -o initfini.s
crti.S crtn.S: initfini.s $(TOPDIR)/extra/scripts/initfini.awk
- $(TOPDIR)/extra/scripts/initfini.awk initfini.s
+ $(AWK) -f $(TOPDIR)extra/scripts/initfini.awk initfini.s
crti.o: crti.S
$(CC) $(SAFECFLAGS) -c crti.S -o crti.o
@@ -81,5 +81,5 @@ $(TOPDIR)lib/crtn.o: crtn.o
cp crtn.o $(TOPDIR)lib/
clean:
- rm -f *.[oa] *~ core crti.* crtn.* initfini.s
+ rm -f *.[oa] *~ core crt[in].* initfini.s