Patched musl with log functions
I pulled in the implementation of a few log functions from musl 0.8.7 because lua needed log2 to compile. Since lua needed only log2 I commented out the ones that didn't immediatly compile like log1p.c.
This commit is contained in:
parent
36a81aa0b9
commit
2ae045cf8a
21 changed files with 1773 additions and 27 deletions
|
@ -17,7 +17,7 @@ includedir = $(prefix)/include
|
|||
libdir = $(prefix)/lib
|
||||
|
||||
SRCS = $(sort $(wildcard src/*/*.c))
|
||||
OBJS = $(SRCS:.c=.o) src/alloca86_64-bt.o src/alloca86_64.o src/libtcc1.o src/va_list.o src/syscall.o
|
||||
OBJS = $(SRCS:.c=.o) src/alloca86_64-bt.o src/alloca86_64.o src/libtcc1.o src/va_list.o src/syscall.o
|
||||
LOBJS = $(OBJS:.o=.lo)
|
||||
GENH = include/bits/alltypes.h
|
||||
|
||||
|
@ -70,6 +70,9 @@ include/bits/alltypes.h: include/bits/alltypes.h.sh
|
|||
%.o: $(ARCH)/%.s
|
||||
$(CC) $(CFLAGS) $(INC) -c -o $@ $<
|
||||
|
||||
%.o: $(ARCH)/%.s
|
||||
$(CC) $(CFLAGS) $(INC) -c -o $@ $<
|
||||
|
||||
%.o: %.c $(GENH)
|
||||
$(CC) $(CFLAGS) $(INC) -c -o $@ $<
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue