Browse Source

libcln: Use -DNO_ASM for arm build

Also use tabs for indentation.
android-5
Fredrik Fornwall 8 years ago
parent
commit
5a7db8c682
  1. 7
      packages/libcln/build.sh

7
packages/libcln/build.sh

@ -6,6 +6,13 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-gnu-ld=no"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
if [ $TERMUX_ARCH = arm ]; then
# See the following section in INSTALL:
# "(*) On these platforms, problems with the assembler routines have been
# reported. It may be best to add "-DNO_ASM" to CPPFLAGS before configuring."
CPPFLAGS+=" -DNO_ASM"
fi
cd $TERMUX_PKG_SRCDIR
sed -i -e 's%tests/Makefile %%' configure.ac
sed -i -e 's%examples/Makefile %%' configure.ac

Loading…
Cancel
Save