diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-08-16 11:30:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-19 17:57:50 +0100 |
commit | 73bcb12743537e8b0e047b0783dc8f5bb2f62db6 (patch) | |
tree | d2f554753aee3d50af0c337cbc5c8c83cb002598 /meta/recipes-support/lzop/lzop_1.03.bb | |
parent | 39a9d16a94954d6ba8c90c705801f21ae81fbaf7 (diff) | |
download | openembedded-core-contrib-73bcb12743537e8b0e047b0783dc8f5bb2f62db6.tar.gz |
lzop: Fix build with gcc5 on ppc
It seems all other architectures provide their own definitions for these
functions like __ACC_UA_GET_LE16 and this code is exposed only on ppc
this is the typical extern inline ( gnu definition ) version c99
semantics, lets use static inline which works both ways
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/lzop/lzop_1.03.bb')
-rw-r--r-- | meta/recipes-support/lzop/lzop_1.03.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/lzop/lzop_1.03.bb b/meta/recipes-support/lzop/lzop_1.03.bb index 1fcd81df6c..07d628908a 100644 --- a/meta/recipes-support/lzop/lzop_1.03.bb +++ b/meta/recipes-support/lzop/lzop_1.03.bb @@ -13,7 +13,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e \ SRC_URI = "http://www.lzop.org/download/${BP}.tar.gz \ file://acinclude.m4 \ - file://x32_abi_miniacc_h.patch " + file://x32_abi_miniacc_h.patch \ + file://0001-use-static-inlines-as-the-external-inline-definition.patch \ + " SRC_URI[md5sum] = "006c5e27fb78cdd14a628fdfa5aa1905" SRC_URI[sha256sum] = "c1425b8c77d49f5a679d5a126c90ea6ad99585a55e335a613cae59e909dbb2c9" |