summaryrefslogtreecommitdiffstats
path: root/package/sysstat
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-05-12 07:27:06 +0400
committerPeter Korsgaard <peter@korsgaard.com>2014-05-12 22:49:42 +0200
commitbb7271b9fe7e4fc3611e9ae0f3cf3171149a8ec0 (patch)
tree8f26b9ebe96b51ad0485054a4646098130ec44cb /package/sysstat
parent10fa142d1ec3f0a6163fb1903003d5fb78f843f5 (diff)
downloadbuildroot-bb7271b9fe7e4fc3611e9ae0f3cf3171149a8ec0.tar.gz
buildroot-bb7271b9fe7e4fc3611e9ae0f3cf3171149a8ec0.zip
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>
Diffstat (limited to 'package/sysstat')
-rw-r--r--package/sysstat/sysstat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk
index d3d7519fb9..23486b6d58 100644
--- a/package/sysstat/sysstat.mk
+++ b/package/sysstat/sysstat.mk
@@ -14,7 +14,7 @@ SYSSTAT_LICENSE_FILES = COPYING
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
SYSSTAT_DEPENDENCIES += gettext
-SYSSTAT_MAKE_OPT += CFLAGS+=-lintl
+SYSSTAT_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -lintl"
endif
# The isag tool is a post processing script that depends on tcl/tk
OpenPOWER on IntegriCloud