libcgroup: fix passing CFLAGS/LDFLAGS to configure
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 May 2014 03:27:04 +0000 (07:27 +0400)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 12 May 2014 20:49:07 +0000 (22:49 +0200)
commit66a87eea361ef121ff09074e937181d9cd89fe32
tree5384d9f51de52fdb33f178fd2a6e07d15576d0c2
parent09322f456b7d00989a6a340a377096499c11e1db
libcgroup: fix passing CFLAGS/LDFLAGS to configure

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@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcgroup/libcgroup.mk