From: Adrian Bunk Date: Tue, 12 May 2020 14:14:16 +0000 (+0300) Subject: llvm: Remove -fcommon X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80cc6e60b98da7c9de9e9da629353cf1fb687197;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git llvm: Remove -fcommon I cannot reproduce the problem. Signed-off-by: Adrian Bunk Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index a8607f5008d..d24ed761bf3 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -92,8 +92,6 @@ 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