From e4f846f3e43efe4dd05861faff1722f282f4a897 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 15 Jan 2017 22:34:48 +0100 Subject: [PATCH] picolisp: Fix clang build --- packages/picolisp/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/picolisp/build.sh b/packages/picolisp/build.sh index a13c52836..61d473b91 100644 --- a/packages/picolisp/build.sh +++ b/packages/picolisp/build.sh @@ -44,10 +44,10 @@ termux_step_make_install () { cd $TERMUX_PKG_SRCDIR/ if [ $TERMUX_ARCH_BITS = "64" ]; then - $AS -pie -o ../bin/picolisp -rdynamic ${TERMUX_PKG_EXTRA_MAKE_ARGS}.base.s -lc -lm -ldl + $CC -fno-integrated-as -pie -o ../bin/picolisp -rdynamic ${TERMUX_PKG_EXTRA_MAKE_ARGS}.base.s -lc -lm -ldl chmod +x ../bin/picolisp - $AS -pie -o ../lib/ext -shared -export-dynamic ${TERMUX_PKG_EXTRA_MAKE_ARGS}.ext.s - $AS -pie -o ../lib/ht -shared -export-dynamic ${TERMUX_PKG_EXTRA_MAKE_ARGS}.ht.s + $CC -fno-integrated-as -pie -o ../lib/ext -shared -export-dynamic ${TERMUX_PKG_EXTRA_MAKE_ARGS}.ext.s + $CC -fno-integrated-as -pie -o ../lib/ht -shared -export-dynamic ${TERMUX_PKG_EXTRA_MAKE_ARGS}.ht.s fi mkdir -p $TERMUX_PREFIX/share/man/man1