[OE-core] [PATCH][V3] mmc-utils: fix the building failure when DEBUG_BUILD is 1
Rongqing Li
rongqing.li at windriver.com
Tue May 26 01:02:20 UTC 2015
ping
-Roy
On 2015年05月13日 08:14, rongqing.li at windriver.com wrote:
> From: Roy Li <rongqing.li at windriver.com>
>
> AM_CFLAGS in Makefile includes -D_FORTIFY_SOURCE=2 which will lead
> to building failure when DEBUG_BUILD is 1.
> So Redefine AM_CFLAGS, input it from the environment to overrides
> variable in makefile
>
> Signed-off-by: Roy Li <rongqing.li at 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..d6d77d9 100644
> --- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
> +++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
> @@ -11,6 +11,8 @@ PV = "0.1"
> SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${BRANCH} \
> file://0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch"
>
> +EXTRA_OEMAKE = 'AM_CFLAGS="-D_FILE_OFFSET_BITS=64"'
> +
> S = "${WORKDIR}/git"
>
> do_install() {
>
--
Best Reagrds,
Roy | RongQing Li
More information about the Openembedded-core
mailing list