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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user