summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index d27e535605..903ffa6eaf 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -92,8 +92,9 @@ EXTRA_OEMAKE += "\
92# PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h 92# PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
93# prevents 64-bit userland from seeing this definition, instead defaulting 93# prevents 64-bit userland from seeing this definition, instead defaulting
94# to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get 94# to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get
95# int-ll64.h included. 95# int-ll64.h included. And MIPS64 has the same issue.
96EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' 96EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__'
97EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__'
97 98
98PARALLEL_MAKE = "" 99PARALLEL_MAKE = ""
99 100