summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-09-15 18:53:34 -0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-23 15:39:45 +0200
commit5a23581c40768b60f90f4800c4dd3f6e67dd10e1 (patch)
tree240d5829e3cbe1089bbbff521fc5ea7ae28a1dac /meta-oe/recipes-benchmark
parent2b257f1b35039d646a084b766e0434ab0b787f64 (diff)
downloadmeta-openembedded-5a23581c40768b60f90f4800c4dd3f6e67dd10e1.tar.gz
tiobench: Fix build using GCC 5.2
Drop 'inline' of crc32 function to fix build using GCC 5.2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r--meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch30
-rw-r--r--meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch b/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch
new file mode 100644
index 000000000..5aebb956c
--- /dev/null
+++ b/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch
@@ -0,0 +1,30 @@
1From 5429ab90eb33eb243fa7b9cd247e0490d72b9da5 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Wed, 9 Sep 2015 15:04:45 +0000
4Subject: [PATCH] Drop 'inline' of crc32 function to fix build using GCC 5.2
5Organization: O.S. Systems Software LTDA.
6
7Upstream-Status: Pending
8
9Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10---
11 crc32.h | 1 -
12 crc32.o | Bin 748 -> 2056 bytes
13 2 files changed, 1 deletion(-)
14
15diff --git a/crc32.h b/crc32.h
16index 62b3433..8fc62b6 100644
17--- a/crc32.h
18+++ b/crc32.h
19@@ -18,7 +18,6 @@
20 #ifndef CRC32_H
21 #define CRC32_H
22
23-inline
24 unsigned long crc32( const void* const buffer,
25 unsigned long length,
26 unsigned long crc);
27
28--
292.1.4
30
diff --git a/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb b/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb
index 3267de2a0..35af35fd3 100644
--- a/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb
+++ b/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb
@@ -9,6 +9,7 @@ SRC_URI = "\
9 http://sourceforge.net/projects/tiobench/files/tiobench/${PV}/${BP}.tar.gz \ 9 http://sourceforge.net/projects/tiobench/files/tiobench/${PV}/${BP}.tar.gz \
10 file://tiobench-makefile.patch \ 10 file://tiobench-makefile.patch \
11 file://avoid-glibc-clashes.patch \ 11 file://avoid-glibc-clashes.patch \
12 file://0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch \
12" 13"
13SRC_URI[md5sum] = "bf485bf820e693c79e6bd2a38702a128" 14SRC_URI[md5sum] = "bf485bf820e693c79e6bd2a38702a128"
14SRC_URI[sha256sum] = "8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc" 15SRC_URI[sha256sum] = "8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc"