diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-09-07 07:45:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-12 22:48:39 +0100 |
commit | 3d8fd2f0ec1778aa36cb95194c474e57dae455e4 (patch) | |
tree | 409fe298a5b458fe26a614e632eafe43be5cc44d /meta/recipes-kernel/latencytop/latencytop_0.5.bb | |
parent | c8f4822c4d46fb0e222913edeabc33e4bc6d4166 (diff) | |
download | poky-3d8fd2f0ec1778aa36cb95194c474e57dae455e4.tar.gz |
latencytop: Fix build with clang
Clang is stricter with syntax checking and flags the functions return
values if they dont match with function signatures, Fixed thusly
(From OE-Core rev: 91b8c2900570720d56a123a90e927f49a6a6095f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/latencytop/latencytop_0.5.bb')
-rw-r--r-- | meta/recipes-kernel/latencytop/latencytop_0.5.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-kernel/latencytop/latencytop_0.5.bb b/meta/recipes-kernel/latencytop/latencytop_0.5.bb index cb0a3c5ed1..f31f1bb7ab 100644 --- a/meta/recipes-kernel/latencytop/latencytop_0.5.bb +++ b/meta/recipes-kernel/latencytop/latencytop_0.5.bb | |||
@@ -10,7 +10,9 @@ PR = "r3" | |||
10 | 10 | ||
11 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/73bb3371c6ee0b0e68e25289027e865c/${BP}.tar.gz \ | 11 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/73bb3371c6ee0b0e68e25289027e865c/${BP}.tar.gz \ |
12 | file://latencytop-makefile.patch \ | 12 | file://latencytop-makefile.patch \ |
13 | file://latencytop-fsync.patch" | 13 | file://latencytop-fsync.patch \ |
14 | file://0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch \ | ||
15 | " | ||
14 | 16 | ||
15 | SRC_URI[md5sum] = "73bb3371c6ee0b0e68e25289027e865c" | 17 | SRC_URI[md5sum] = "73bb3371c6ee0b0e68e25289027e865c" |
16 | SRC_URI[sha256sum] = "9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef" | 18 | SRC_URI[sha256sum] = "9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef" |
@@ -21,7 +23,7 @@ PACKAGECONFIG[x11] = ",,gtk+" | |||
21 | 23 | ||
22 | EXTRA_OEMAKE_X = "${@bb.utils.contains('PACKAGECONFIG', 'x11', 'HAS_GTK_GUI=1', '', d)}" | 24 | EXTRA_OEMAKE_X = "${@bb.utils.contains('PACKAGECONFIG', 'x11', 'HAS_GTK_GUI=1', '', d)}" |
23 | 25 | ||
24 | CFLAGS += "${LDFLAGS}" | 26 | #CFLAGS += "${LDFLAGS}" |
25 | 27 | ||
26 | do_install() { | 28 | do_install() { |
27 | oe_runmake install DESTDIR=${D} ${EXTRA_OEMAKE_X} | 29 | oe_runmake install DESTDIR=${D} ${EXTRA_OEMAKE_X} |