package/binutils: don't override the build command
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 27 Apr 2019 16:06:14 +0000 (18:06 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 28 Apr 2019 20:08:24 +0000 (22:08 +0200)
commit1c4dd7bb5d96f4529a83ae7061c32062904b5b3c
treed147b1afe8ffc721774aa3ce86e48e5ba1a8e217
parent3b017adcc63de4a6f685cebb9efe3e3367fd6185
package/binutils: don't override the build command

In 1d42d0acca (binutils: ensure TARGET_CONFIGURE_ARGS is taken into
consideration for subdirs), the whole BUILD_CMDS was overriden in an
attempt to ensure that the target configure args (in fact, environment
variables) are indeed passed in the environment of the build command.

However, there is no reason to override the whole command, when we can
simply specify additional environment variables, as supported by the
autotools infra.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/binutils.mk