[OE-core] [PATCH] perf : fix perf of cross-compile for PowerPC 64bit targets
Chunrong Guo
B40290 at freescale.com
Fri Sep 27 03:06:29 UTC 2013
*fix perf build issue on powerpc 64bit targets
|error information:
| tests/attr.c: In function 'store_event':
| tests/attr.c:71:4: error: format '%llu' expects argument of type 'long long unsigned int',
| but argument 6 has type '__u64' [-Werror=format=]
| attr->type, attr->config, fd);
Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
meta/recipes-kernel/perf/perf.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 269069f..fa6b8b9 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -77,6 +77,7 @@ EXTRA_OEMAKE = \
'
EXTRA_OEMAKE += "\
+ 'CFLAGS=${CFLAGS} -fPIC' \
'prefix=${prefix}' \
'bindir=${bindir}' \
'sharedir=${datadir}' \
--
1.7.5.4
More information about the Openembedded-core
mailing list