diff options
Diffstat (limited to 'newlib/libc/sys/linux/Makefile.in')
-rw-r--r-- | newlib/libc/sys/linux/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/Makefile.in b/newlib/libc/sys/linux/Makefile.in index 5b548c797..3f110fab2 100644 --- a/newlib/libc/sys/linux/Makefile.in +++ b/newlib/libc/sys/linux/Makefile.in @@ -127,7 +127,7 @@ ELIX_4_OBJS = getlogin.$(oext) getpwnam.$(oext) getpwuid.$(oext) stack.$(oe # This will handle both /usr/src/linux-2.4/include/asm/signal.h (in Red Hat Linux 7.1) # and also /usr/src/linux/include/asm/signal.h in older versions of Red Hat Linux -SIGNAL_H = /usr/src/$(shell ls /usr/src/ | grep ^linux | head -n 1)/include/asm/signal.h +SIGNAL_H = /usr/include/asm/signal.h liblinux_la_LDFLAGS = -Xcompiler -nostdlib @@ -590,7 +590,8 @@ machine/crt0.o: ; @true sig.$(oext): siglist.inc siglist.inc: - $(AWK) '/#define.SIG.*[1-9][0-9]*/ { n[$$3] = $$2 } \ + $(AWK) '{ max = 32 } \ + /#define.SIG.*[1-9][0-9]*/ { n[$$3] = $$2 } \ /#define.NSIG.*[1-9][0-9]*/ { max = $$3 } \ /#define.SIGUNUSED/ \ { for (i = 0; i <= max; i++) print "\"" n[i] "\"," }' \ |