From: Max Filippov <jcmvbkbc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] sysstat: fix passing CFLAGS to make
Date: Mon, 12 May 2014 07:27:06 +0400 [thread overview]
Message-ID: <1399865226-7054-5-git-send-email-jcmvbkbc@gmail.com> (raw)
In-Reply-To: <1399865226-7054-1-git-send-email-jcmvbkbc@gmail.com>
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>
---
package/sysstat/sysstat.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk
index d3d7519..23486b6 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
--
1.7.7.6
next prev parent reply other threads:[~2014-05-12 3:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 3:27 [Buildroot] [PATCH 0/4] fix environment variables passing to configure/make Max Filippov
2014-05-12 3:27 ` [Buildroot] [PATCH 1/4] sqlcipher: fix passing CFLAGS/LDFLAGS to configure Max Filippov
2014-05-12 17:50 ` Thomas Petazzoni
2014-05-12 3:27 ` [Buildroot] [PATCH 2/4] libcgroup: " Max Filippov
2014-05-12 17:50 ` Thomas Petazzoni
2014-05-12 3:27 ` [Buildroot] [PATCH 3/4] ebtables: fix passing CFLAGS " Max Filippov
2014-05-12 17:50 ` Thomas Petazzoni
2014-05-12 3:27 ` Max Filippov [this message]
2014-05-12 17:51 ` [Buildroot] [PATCH 4/4] sysstat: fix passing CFLAGS to make Thomas Petazzoni
2014-05-12 20:52 ` [Buildroot] [PATCH 0/4] fix environment variables passing to configure/make Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1399865226-7054-5-git-send-email-jcmvbkbc@gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox