mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
llvm: remove -mlongcall from CXXFLAGS for powerpc
after gcc upgrade to 9.1.0, with this flags will make below error: collect2: fatal error: ld terminated with signal 11 [Segmentation fault] remove it as workaround, after remove it, powerpc can compile successfully (From OE-Core rev: 487eb18928c26e7781bb86a972369f3594ecdcca) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
20916caa29
commit
fe2c86fc77
@@ -86,8 +86,6 @@ EXTRA_OECMAKE_append_class-nativesdk = "\
|
||||
-DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
|
||||
"
|
||||
|
||||
CXXFLAGS_append_class-target_powerpc = " -mlongcall"
|
||||
|
||||
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