Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH][v4] mmc-utils: fix the building failure when DEBUG_BUILD is 1
@ 2015-06-03  1:24 rongqing.li
  2015-06-10  8:58 ` Rongqing Li
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: rongqing.li @ 2015-06-03  1:24 UTC (permalink / raw)
  To: openembedded-core

From: Roy Li <rongqing.li@windriver.com>

AM_CFLAGS in Makefile includes -D_FORTIFY_SOURCE=2 which will lead
to building failure when DEBUG_BUILD is 1.
Cancel the definition of _FORTIFY_SOURCE by passing -U_FORTIFY_SOURCE
via CFLAGS

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index bdb4fed..dfe8902 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -13,6 +13,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branc
 
 S = "${WORKDIR}/git"
 
+CFLAGS += "-U_FORTIFY_SOURCE"
+
 do_install() {
     install -d ${D}${bindir}
     install -m 0755 mmc ${D}${bindir}
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-25  9:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03  1:24 [PATCH][v4] mmc-utils: fix the building failure when DEBUG_BUILD is 1 rongqing.li
2015-06-10  8:58 ` Rongqing Li
2015-06-18  9:12 ` Rongqing Li
2015-06-23 11:23 ` Burton, Ross
2015-06-24  1:42   ` Rongqing Li
2015-06-24 14:16     ` Burton, Ross
2015-06-25  6:59       ` Rongqing Li
2015-06-25  9:30         ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox