diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 2 |
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. |
75 | EXTRA_OEMAKE += "\ | 75 | EXTRA_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}' \ |