[Buildroot] [PATCH 2/4] libcgroup: fix passing CFLAGS/LDFLAGS to configure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 12 17:50:39 UTC 2014


Dear Max Filippov,

On Mon, 12 May 2014 07:27:04 +0400, Max Filippov wrote:
> LIBCGROUP_CONF_ENV is a string used to pass environment variables to the
> confgiure script, '+=' operator doesn't have any special meaning inside
> it, so CFLAGS+=... is passed to shell, overwriting previous CFLAGS
> value. Replace CFLAGS+="..." with CFLAGS="$(TARGET_CFLAGS) ...".
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
>  package/libcgroup/libcgroup.mk |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list