15 lines
451 B
Bash
Executable File
15 lines
451 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#CONFIG_LDFLAGS="-L/lib -lffi -lbz2 -lexpat" \
|
|
#LDFLAGS="$LDFLAGS -L/lib -lffi -lbz2 -lexpat" \
|
|
#CPPFLAGS="$CPPFLAGS -I/include" \
|
|
#CFLAGS="$CFLAGS -I/include -lexpat -lffi -L/lib -DTHREAD_STACK_SIZE=0x100000" \
|
|
CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000" \
|
|
make -j$(nproc)
|
|
|
|
## explanation
|
|
#
|
|
# CFLAGS:
|
|
# increase thread stack size so that the recursion limit can be reached in
|
|
# a thread without running out of stack space first.
|