From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/4] uclibc.inc: fixup CFLAGS with _remove instead of oe_filter_out
Date: Thu, 6 Aug 2015 18:54:17 -0700 [thread overview]
Message-ID: <1438912459-7242-3-git-send-email-armccurdy@gmail.com> (raw)
In-Reply-To: <1438912459-7242-1-git-send-email-armccurdy@gmail.com>
No functional change, but _remove is slightly cleaner and clearer.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
meta/recipes-core/uclibc/uclibc.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index c483228..969c35b 100644
--- a/meta/recipes-core/uclibc/uclibc.inc
+++ b/meta/recipes-core/uclibc/uclibc.inc
@@ -57,7 +57,8 @@ export V="2"
# -O<n> -fno-omit-frame-pointer ends up with GCC ICE on thumb as reported
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860
#
-CFLAGS_arm := "${@oe_filter_out('-fno-omit-frame-pointer', '${CFLAGS}', d)}"
+CFLAGS_remove_arm = "-fno-omit-frame-pointer"
+
UCLIBC_EXTRA_CFLAGS := "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}"
do_compile_prepend () {
--
1.9.1
next prev parent reply other threads:[~2015-08-07 1:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 1:54 [PATCH v2 0/4] fix uclibc build with security_flags.inc Andre McCurdy
2015-08-07 1:54 ` [PATCH 1/4] uclibc.inc: remove unused UCLIBC_EXTRA_LDFLAGS Andre McCurdy
2015-08-07 2:12 ` Khem Raj
2015-08-07 18:09 ` Andre McCurdy
2015-08-07 1:54 ` Andre McCurdy [this message]
2015-08-07 1:54 ` [PATCH 3/4] uclibc.inc: avoid immediate expansion for UCLIBC_EXTRA_CFLAGS Andre McCurdy
2015-08-07 1:54 ` [PATCH 4/4] security_flags.inc: clear SECURITY_CFLAGS for uclibc Andre McCurdy
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=1438912459-7242-3-git-send-email-armccurdy@gmail.com \
--to=armccurdy@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/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