libcln: Use -DNO_ASM for arm build
Also use tabs for indentation.
This commit is contained in:
parent
94f1c11e25
commit
5a7db8c682
|
@ -6,17 +6,24 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-gnu-ld=no"
|
||||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
cd $TERMUX_PKG_SRCDIR
|
if [ $TERMUX_ARCH = arm ]; then
|
||||||
sed -i -e 's%tests/Makefile %%' configure.ac
|
# See the following section in INSTALL:
|
||||||
sed -i -e 's%examples/Makefile %%' configure.ac
|
# "(*) On these platforms, problems with the assembler routines have been
|
||||||
sed -i -e 's%benchmarks/Makefile %%' configure.ac
|
# reported. It may be best to add "-DNO_ASM" to CPPFLAGS before configuring."
|
||||||
|
CPPFLAGS+=" -DNO_ASM"
|
||||||
autoreconf
|
fi
|
||||||
|
|
||||||
|
cd $TERMUX_PKG_SRCDIR
|
||||||
|
sed -i -e 's%tests/Makefile %%' configure.ac
|
||||||
|
sed -i -e 's%examples/Makefile %%' configure.ac
|
||||||
|
sed -i -e 's%benchmarks/Makefile %%' configure.ac
|
||||||
|
|
||||||
|
autoreconf
|
||||||
}
|
}
|
||||||
|
|
||||||
termux_step_post_configure() {
|
termux_step_post_configure() {
|
||||||
cd $TERMUX_PKG_SRCDIR
|
cd $TERMUX_PKG_SRCDIR
|
||||||
sed -i -e 's% tests%%' Makefile
|
sed -i -e 's% tests%%' Makefile
|
||||||
sed -i -e 's% examples%%' Makefile
|
sed -i -e 's% examples%%' Makefile
|
||||||
sed -i -e 's% benchmarks%%' Makefile
|
sed -i -e 's% benchmarks%%' Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue