diff options
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 7832441482..0067635c2b 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -86,6 +86,8 @@ EXTRA_OECMAKE_append_class-nativesdk = "\ | |||
86 | -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ | 86 | -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ |
87 | " | 87 | " |
88 | 88 | ||
89 | CXXFLAGS_append_class-target_powerpc = " -mlongcall" | ||
90 | |||
89 | do_configure_prepend() { | 91 | do_configure_prepend() { |
90 | # Fix paths in llvm-config | 92 | # Fix paths in llvm-config |
91 | 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 | 93 | 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 |