diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-29 10:44:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 23:39:09 +0000 |
commit | 46827b861626386c5c6db6f400616a797e181233 (patch) | |
tree | bb0b52f412daaaa2f9510a72cf60dbdcf4071d51 /meta/recipes-connectivity | |
parent | 29354c8738a71aa380077a7745f68e18b4a914e0 (diff) | |
download | poky-46827b861626386c5c6db6f400616a797e181233.tar.gz |
recipes: Use -fcommon explicitly
This is needed with gcc 10
(From OE-Core rev: 312e9fe3f047547df4c21c8e666cc9aa70e15347)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/socat/socat_1.7.3.3.bb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb b/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb index 8a86cbf78c..75772d4696 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb | |||
@@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "cb1c1e45993a3bd2438543fd4332d70f1726a6e6ff97dc613a8258c993 | |||
9 | 9 | ||
10 | # CFLAGS are computed in Makefile and reference CCOPTS | 10 | # CFLAGS are computed in Makefile and reference CCOPTS |
11 | # | 11 | # |
12 | EXTRA_OEMAKE_append = " CCOPTS='${CFLAGS}'" | 12 | EXTRA_OEMAKE_append = " CCOPTS='${CFLAGS} -fcommon'" |
diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb index 1dbbe5cd55..ee01578c1a 100644 --- a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb | |||
@@ -44,6 +44,8 @@ PACKAGECONFIG ??= "readline" | |||
44 | PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | 44 | PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" |
45 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" | 45 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" |
46 | 46 | ||
47 | CFLAGS += "-fcommon" | ||
48 | |||
47 | do_install_prepend () { | 49 | do_install_prepend () { |
48 | mkdir -p ${D}${bindir} | 50 | mkdir -p ${D}${bindir} |
49 | install -d ${D}${bindir} ${D}${mandir}/man1 | 51 | install -d ${D}${bindir} ${D}${mandir}/man1 |