summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-29 10:44:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-30 23:39:09 +0000
commit46827b861626386c5c6db6f400616a797e181233 (patch)
treebb0b52f412daaaa2f9510a72cf60dbdcf4071d51
parent29354c8738a71aa380077a7745f68e18b4a914e0 (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2_5.3.0.bb2
-rw-r--r--meta/recipes-connectivity/socat/socat_1.7.3.3.bb2
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt.inc2
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb2
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb2
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb2
-rw-r--r--meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa_19.2.4.bb2
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb2
-rw-r--r--meta/recipes-support/atk/at-spi2-atk_2.32.0.bb2
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.18.1.bb2
11 files changed, 21 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#
12EXTRA_OEMAKE_append = " CCOPTS='${CFLAGS}'" 12EXTRA_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"
44PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" 44PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
45PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" 45PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
46 46
47CFLAGS += "-fcommon"
48
47do_install_prepend () { 49do_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
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index 6d6990c3d5..accbdd6361 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -27,6 +27,8 @@ BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
27TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" 27TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
28CPPFLAGS_append_class-nativesdk = " -Wno-error" 28CPPFLAGS_append_class-nativesdk = " -Wno-error"
29 29
30CFLAGS += "-fcommon"
31
30API = "--disable-obsolete-api" 32API = "--disable-obsolete-api"
31EXTRA_OECONF += "${API}" 33EXTRA_OECONF += "${API}"
32 34
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index d24ed761bf..a8607f5008 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -92,6 +92,8 @@ EXTRA_OECMAKE_append_class-nativesdk = "\
92 -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ 92 -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
93 " 93 "
94 94
95CFLAGS += "-fcommon"
96
95do_configure_prepend() { 97do_configure_prepend() {
96# Fix paths in llvm-config 98# Fix paths in llvm-config
97 sed -i "s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g" ${S}/tools/llvm-config/llvm-config.cpp 99 sed -i "s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g" ${S}/tools/llvm-config/llvm-config.cpp
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
index a02e35d19a..53ed5e81f7 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
@@ -21,6 +21,8 @@ inherit autotools pkgconfig
21 21
22EXTRA_OECONF = "--disable-gssapi" 22EXTRA_OECONF = "--disable-gssapi"
23 23
24CFLAGS += "-fcommon"
25
24do_install_append() { 26do_install_append() {
25 chown root:root ${D}${sysconfdir}/netconfig 27 chown root:root ${D}${sysconfdir}/netconfig
26} 28}
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb
index b9961c398c..675ee40fa4 100644
--- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb
@@ -21,6 +21,8 @@ inherit autotools pkgconfig features_check
21# depends on virtual/libx11 21# depends on virtual/libx11
22REQUIRED_DISTRO_FEATURES = "x11" 22REQUIRED_DISTRO_FEATURES = "x11"
23 23
24CFLAGS += "-fcommon"
25
24FILES_${PN} = "${bindir}/* \ 26FILES_${PN} = "${bindir}/* \
25 ${datadir}/matchbox \ 27 ${datadir}/matchbox \
26 ${sysconfdir}/matchbox \ 28 ${sysconfdir}/matchbox \
diff --git a/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb b/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb
index ddbbd94066..7a11228ef0 100644
--- a/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb
+++ b/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb
@@ -16,3 +16,5 @@ SRC_URI[sha256sum] = "ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9
16UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/lxde/files/menu-cache/1.1/" 16UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/lxde/files/menu-cache/1.1/"
17 17
18inherit autotools gettext pkgconfig gtk-doc 18inherit autotools gettext pkgconfig gtk-doc
19
20CFLAGS += "-fcommon"
diff --git a/meta/recipes-graphics/mesa/mesa_19.2.4.bb b/meta/recipes-graphics/mesa/mesa_19.2.4.bb
index 46ecee3a73..115663b066 100644
--- a/meta/recipes-graphics/mesa/mesa_19.2.4.bb
+++ b/meta/recipes-graphics/mesa/mesa_19.2.4.bb
@@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "09000a0f7dbbd82e193b81a8f1bf0c118eab7ca975c0329181968596e5
13 13
14UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)" 14UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
15 15
16CFLAGS += "-fcommon"
17
16#because we cannot rely on the fact that all apps will use pkgconfig, 18#because we cannot rely on the fact that all apps will use pkgconfig,
17#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER 19#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
18do_install_append() { 20do_install_append() {
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb
index 9218b4f69d..a1cd490394 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.20.6.bb
@@ -8,6 +8,8 @@ SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.pat
8SRC_URI[md5sum] = "a98170084f2c8fed480d2ff601f8a14b" 8SRC_URI[md5sum] = "a98170084f2c8fed480d2ff601f8a14b"
9SRC_URI[sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1" 9SRC_URI[sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1"
10 10
11CFLAGS += "-fcommon"
12
11# These extensions are now integrated into the server, so declare the migration 13# These extensions are now integrated into the server, so declare the migration
12# path for in-place upgrades. 14# path for in-place upgrades.
13 15
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
index d3a9de1e41..b717a9c7f7 100644
--- a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
+++ b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
@@ -17,3 +17,5 @@ FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
17FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*" 17FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
18 18
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"
20
21CFLAGS += "-fcommon"
diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
index 16ecc506ce..7e2efe3c9b 100644
--- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
@@ -23,6 +23,8 @@ CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
23 23
24BBCLASSEXTEND = "native nativesdk" 24BBCLASSEXTEND = "native nativesdk"
25 25
26CFLAGS += "-fcommon"
27
26do_install_append () { 28do_install_append () {
27 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find 29 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
28 # these headers 30 # these headers