lz4: pass {TARGET,HOST}_CONFIGURE_OPTS in the environment
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Mar 2017 19:52:39 +0000 (21:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Mar 2017 19:52:39 +0000 (21:52 +0200)
commitf4dc73568b08bd96aa659c5ef29226349dee05de
treeaaaf8131eef353576d1067316e49454cd7347190
parentb718c776ca1a5d204f2ae9a765331a32e87e9560
lz4: pass {TARGET,HOST}_CONFIGURE_OPTS in the environment

{TARGET,HOST}_CONFIGURE_OPTS are currently passed as $(MAKE) argument,
which causes some CPPFLAGS/CFLAGS defined by the package build system to
be overridden, leading to build failures. This commit changes the lz4
package to pass {TARGET,HOST}_CONFIGURE_OPTS through the environment to
avoid this issue.

Fixes:

  http://autobuild.buildroot.net/results/2a578a9c462463fde802c999156723494fe1b14d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lz4/lz4.mk