summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf/perf.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-27 11:30:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-27 12:31:59 +0100
commitd638db8d8fd2e9ce945449b920663274f054f9d6 (patch)
tree9403cc1ffeaa891fab6aa1de892b02f31a11fcb8 /meta/recipes-kernel/perf/perf.bb
parent1472b9ebff22e11b364bb380b44f5a7ff6667331 (diff)
downloadpoky-d638db8d8fd2e9ce945449b920663274f054f9d6.tar.gz
perf: Ensure we general PIC code to avoid build failures
Without this we see relocation errors on mips with 3.10. This should be safe to be included in general. (From OE-Core rev: 9958653b2bf9e43312a39c6b89ff0ca1cc46995c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf/perf.bb')
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 844e8807ca..a78fc057bb 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -73,7 +73,7 @@ EXTRA_OEMAKE = \
73# don't override it, it'll add -m32/-m64 itself). For LDFLAGS, it was failing 73# don't override it, it'll add -m32/-m64 itself). For LDFLAGS, it was failing
74# to find bfd symbols. 74# to find bfd symbols.
75EXTRA_OEMAKE += "\ 75EXTRA_OEMAKE += "\
76 'CFLAGS=${CFLAGS}' \ 76 'CFLAGS=${CFLAGS} -fPIC' \
77 'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \ 77 'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \
78 \ 78 \
79 'prefix=${prefix}' \ 79 'prefix=${prefix}' \