Packages referencing variables defined in setup_toolchain such as CC, CXX,
AR, CFLAGS, LDFLAGS, HOST_CC etc. etc. must only reference these variables in
pre_build()/pre_configure()/pre_make() etc. functions, as the variables will not
be available when the package is sourced, but will be available after the call
to setup_toolchain() from scripts/build.
This reverts commit e0b6641f50f881b072b619f130914d48a05b7ef9.
Changing configure.ac requires aclocal-1.15 to be installed on the
build host as the configure script needs to be regenerated.
This breaks builds on all systems without automake-1.15, so revert
the change until a solution for the Arch make issue is found
that doesn't introduce a ton of host dependencies.
Signed-off-by: Matthias Reichl <hias@horus.com>
I have tested this change. Works without any problems. Recent 4.1 is a minor bugfix release of version 4 we already use. Its released in 2014 and used in most of the recent linux OS.