summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gdbm/gdbm_1.18.1.bb
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-05-05 12:38:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-07 12:15:59 +0100
commitef5725ddfc9df83e6bf78756cc60bc883dd741f1 (patch)
tree7707a130e9413662dbf237a3175c8efe28df34d4 /meta/recipes-support/gdbm/gdbm_1.18.1.bb
parenta8625d04c783e52c130822d7e92a86f865bceac7 (diff)
downloadpoky-ef5725ddfc9df83e6bf78756cc60bc883dd741f1.tar.gz
gdbm: add patch to fix link failure against gcc 10
This also makes appending "-fcommon" to CFLAGS obsolete and enables native builds with a host gcc v10. (From OE-Core rev: 7717b35265e6ef8ef71a4eca4074294dfcc2110c) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gdbm/gdbm_1.18.1.bb')
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.18.1.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
index 5cb7c558b8..fbb1fe72d7 100644
--- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24"
8SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ 8SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
9 file://run-ptest \ 9 file://run-ptest \
10 file://ptest.patch \ 10 file://ptest.patch \
11 file://gdbm-fix-link-failure-against-gcc-10.patch \
11 " 12 "
12 13
13SRC_URI[md5sum] = "988dc82182121c7570e0cb8b4fcd5415" 14SRC_URI[md5sum] = "988dc82182121c7570e0cb8b4fcd5415"
@@ -23,8 +24,6 @@ CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
23 24
24BBCLASSEXTEND = "native nativesdk" 25BBCLASSEXTEND = "native nativesdk"
25 26
26CFLAGS += "-fcommon"
27
28do_install_append () { 27do_install_append () {
29 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find 28 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
30 # these headers 29 # these headers