glibc: dont run aclocal and autoconf on target build

required to address following error:

aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71
aclocal.m4:6: the top level
autom4te: error: toolchain/bin/m4 failed with exit status: 63
This commit is contained in:
heitbaum 2021-08-06 22:51:34 +10:00
parent 84e22e09db
commit fc1ccb3710

View File

@ -45,13 +45,6 @@ post_unpack() {
find "${PKG_BUILD}" -type f -name '*.py' -exec sed -e '1s,^#![[:space:]]*/usr/bin/python.*,#!/usr/bin/env python3,' -i {} \; find "${PKG_BUILD}" -type f -name '*.py' -exec sed -e '1s,^#![[:space:]]*/usr/bin/python.*,#!/usr/bin/env python3,' -i {} \;
} }
pre_build_target() {
cd ${PKG_BUILD}
aclocal --force --verbose
autoconf --force --verbose
cd -
}
pre_configure_target() { pre_configure_target() {
# Filter out some problematic *FLAGS # Filter out some problematic *FLAGS
export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-ffast-math||g") export CFLAGS=$(echo ${CFLAGS} | sed -e "s|-ffast-math||g")