From: chunseok lee Date: Fri, 3 Mar 2017 10:01:38 +0000 (+0900) Subject: fix aarch64 build fail X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F117409%2F1;p=platform%2Fupstream%2Fllvm.git fix aarch64 build fail Change-Id: I131471a4d846c5df7a7f5b62f61643d207b086ac Signed-off-by: chunseok lee --- diff --git a/packaging/llvm.spec b/packaging/llvm.spec index 0fad01b..aafd83b 100644 --- a/packaging/llvm.spec +++ b/packaging/llvm.spec @@ -158,6 +158,7 @@ cd build # copy lldb for sdk mkdir -p %{buildroot}%{sdk_bin_dir} mkdir -p %{buildroot}%{sdk_lib_dir} +%ifnarch aarch64 mv %{buildroot}%{install_prefix}/bin/lldb %{buildroot}%{sdk_bin_dir} mv %{buildroot}%{install_prefix}/bin/lldb-3.8.1 %{buildroot}%{sdk_bin_dir} mv %{buildroot}%{install_prefix}/bin/lldb-argdumper %{buildroot}%{sdk_bin_dir} @@ -168,6 +169,7 @@ mv %{buildroot}%{install_prefix}/bin/lldb-server-3.8.1 %{buildroot}%{sdk_bin_dir cp %{buildroot}%{library_dir}/liblldb.so.3.8.1 %{buildroot}%{sdk_lib_dir}/ cp -P %{buildroot}%{library_dir}/liblldb.so %{buildroot}%{sdk_lib_dir}/ +%endif rm -rf %{buildroot}/usr/lib/debug/* rm -rf %{buildroot}%{library_dir}/lib*.a