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>
This commit is contained in:
parent
1472b9ebff
commit
d638db8d8f
|
@ -73,7 +73,7 @@ EXTRA_OEMAKE = \
|
|||
# don't override it, it'll add -m32/-m64 itself). For LDFLAGS, it was failing
|
||||
# to find bfd symbols.
|
||||
EXTRA_OEMAKE += "\
|
||||
'CFLAGS=${CFLAGS}' \
|
||||
'CFLAGS=${CFLAGS} -fPIC' \
|
||||
'LDFLAGS=${LDFLAGS} -lpthread -lrt -lelf -lm -lbfd' \
|
||||
\
|
||||
'prefix=${prefix}' \
|
||||
|
|
Loading…
Reference in New Issue