summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/llvm/llvm_git.bb
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:15:11 +0100
commitb23cc4a8f1698d8f77501ab4edf9df804b79b11a (patch)
tree6c1e7c8de7fbfcca15f62de86a8a1f47af0bc268 /meta/recipes-devtools/llvm/llvm_git.bb
parentcf8ed74154fa8300ddfd67772f10b97f4b840255 (diff)
downloadpoky-b23cc4a8f1698d8f77501ab4edf9df804b79b11a.tar.gz
llvm: Remove -fcommon
I cannot reproduce the problem. (From OE-Core rev: 80cc6e60b98da7c9de9e9da629353cf1fb687197) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm_git.bb')
-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 = "\
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
97do_configure_prepend() { 95do_configure_prepend() {
98# Fix paths in llvm-config 96# Fix paths in llvm-config
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 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