summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhongxu <hongxu.jia@windriver.com>2020-05-19 18:31:57 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-05-21 22:12:20 -0400
commite960e1d2d42db7b236616f31e5021998ea93867f (patch)
tree7c72bfbf4af6c3f1ab127130a9d2cad37d298de0
parente4d1cbbb0dfe99967ed3b3a83badfd2da3a34214 (diff)
downloadmeta-cloud-services-e960e1d2d42db7b236616f31e5021998ea93867f.tar.gz
glusterfs: fix failure on gcc10
Since oe-core upgraded gcc to 10.1, there is a failure ... |../../../../../glusterfs-6.1/rpc/rpc-transport/socket/src/socket.c:4302:24: error: implicit declaration of function 'EC_KEY_new_by_curve_name' [-Werror=implicit-function-declaration] | 4302 | ecdh = EC_KEY_new_by_curve_name(nid); ... Add option -Wno-error=implicit-function-declaration to workaround Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/glusterfs/glusterfs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc
index a567784..c209baa 100644
--- a/recipes-extended/glusterfs/glusterfs.inc
+++ b/recipes-extended/glusterfs/glusterfs.inc
@@ -34,7 +34,7 @@ DEPENDS += "bison-native flex-native python3-native fuse libaio libtirpc libxml2
34 34
35# rpc now comes from libtirpc instead of glibc 35# rpc now comes from libtirpc instead of glibc
36# 36#
37CFLAGS += "-I${STAGING_INCDIR}/tirpc" 37CFLAGS += "-I${STAGING_INCDIR}/tirpc -Wno-error=implicit-function-declaration"
38LDFLAGS += " -ltirpc" 38LDFLAGS += " -ltirpc"
39 39
40EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \ 40EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \