sysstat: fix passing CFLAGS to make
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 May 2014 03:27:06 +0000 (07:27 +0400)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 12 May 2014 20:49:42 +0000 (22:49 +0200)
commitbb7271b9fe7e4fc3611e9ae0f3cf3171149a8ec0
tree8f26b9ebe96b51ad0485054a4646098130ec44cb
parent10fa142d1ec3f0a6163fb1903003d5fb78f843f5
sysstat: fix passing CFLAGS to make

SYSSTAT_MAKE_OPT is a string used to pass options to make, '+=' 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/sysstat/sysstat.mk