diff options
| author | hongxu <hongxu.jia@windriver.com> | 2020-05-19 18:31:57 -0700 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-05-21 22:12:20 -0400 |
| commit | e960e1d2d42db7b236616f31e5021998ea93867f (patch) | |
| tree | 7c72bfbf4af6c3f1ab127130a9d2cad37d298de0 | |
| parent | e4d1cbbb0dfe99967ed3b3a83badfd2da3a34214 (diff) | |
| download | meta-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.inc | 2 |
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 | # |
| 37 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | 37 | CFLAGS += "-I${STAGING_INCDIR}/tirpc -Wno-error=implicit-function-declaration" |
| 38 | LDFLAGS += " -ltirpc" | 38 | LDFLAGS += " -ltirpc" |
| 39 | 39 | ||
| 40 | EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \ | 40 | EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \ |
