|
@ -31,7 +31,7 @@ termux_step_make() { |
|
|
sed -i "s%\@LDFLAGS\@%${LDFLAGS}%g" config/nim.cfg |
|
|
sed -i "s%\@LDFLAGS\@%${LDFLAGS}%g" config/nim.cfg |
|
|
sed -i "s%\@CPPFLAGS\@%${CPPFLAGS}%g" config/nim.cfg |
|
|
sed -i "s%\@CPPFLAGS\@%${CPPFLAGS}%g" config/nim.cfg |
|
|
|
|
|
|
|
|
find -name "stdlib_osproc.c" | xargs -n 1 sed -i 's',"/system/bin/sh\"\,\ 14","/data/data/com.termux/files/usr/bin/sh\"\,\ 38",'g' |
|
|
find -name "stdlib_osproc.nim.c" | xargs -n 1 sed -i 's',"/system/bin/sh\"\,\ 14","/data/data/com.termux/files/usr/bin/sh\"\,\ 38",'g' |
|
|
PATH=$TERMUX_PKG_HOSTBUILD_DIR/bin:$PATH |
|
|
PATH=$TERMUX_PKG_HOSTBUILD_DIR/bin:$PATH |
|
|
|
|
|
|
|
|
if [ $NIM_ARCH = "amd64" ]; then |
|
|
if [ $NIM_ARCH = "amd64" ]; then |
|
|