summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2020-05-12 17:14:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-14 14:13:50 +0100
commit80cc6e60b98da7c9de9e9da629353cf1fb687197 (patch)
tree65b8c79bd887c6f951f2c79e4bcac5ff42749199
parentd69a05533048d0e50f5ee47b2c35675bc615728c (diff)
downloadopenembedded-core-contrib-80cc6e60b98da7c9de9e9da629353cf1fb687197.tar.gz
openembedded-core-contrib-80cc6e60b98da7c9de9e9da629353cf1fb687197.tar.bz2
openembedded-core-contrib-80cc6e60b98da7c9de9e9da629353cf1fb687197.zip
llvm: Remove -fcommon
I cannot reproduce the problem. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index a8607f5008..d24ed761bf 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