1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

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>
This commit is contained in:
Khem Raj
2019-12-29 10:44:13 -08:00
committed by Richard Purdie
parent 29354c8738
commit 46827b8616
11 changed files with 21 additions and 1 deletions
+2
View File
@@ -92,6 +92,8 @@ EXTRA_OECMAKE_append_class-nativesdk = "\
-DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
"
CFLAGS += "-fcommon"
do_configure_prepend() {
# Fix paths in llvm-config
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