diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-06-29 16:08:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-08 09:55:40 +0100 |
commit | 2857658ff5e477cb436cf2778a78fa9f192caab8 (patch) | |
tree | 8f7c35f3768ed3eea2143f7cc0101763eb0e497f /meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb | |
parent | a7133bf6bb650b944d29d01129f36a56282acd2b (diff) | |
download | openembedded-core-2857658ff5e477cb436cf2778a78fa9f192caab8.tar.gz |
libpfm4: fix compile error
It fails to compile libpfm4 with misleading-indentation error:
| syst_count.c:346:3: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
| for(c=cmin ; c < cmax; c++)
| ^~~
Add clauses to fix it.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb')
-rw-r--r-- | meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb b/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb index 0b024ad61d..4136eac81f 100644 --- a/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb +++ b/meta/recipes-kernel/libpfm/libpfm4_4.6.0.bb @@ -14,6 +14,7 @@ COMPATIBLE_HOST = "powerpc64" SRC_URI = "http://downloads.sourceforge.net/project/perfmon2/${BPN}/libpfm-${PV}.tar.gz \ file://0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch \ + file://fix-misleading-indentation-error.patch \ " SRC_URI[md5sum] = "5077b9022440e4951d96f2d0e73bd487" |