[gcc-cross] Fix the compilation problem caused by the missing code segment of crtbeginS.o
This commit is contained in:
parent
e15d8190df
commit
aa36cecf7f
@ -5,7 +5,7 @@ readonly LIB_PATH="$PWD/../open_source"
|
||||
source $PWD/config.xml
|
||||
build_rpmdir=`rpm --eval "%{_builddir}"`
|
||||
src_rpmdir=`rpm --eval "%{_sourcedir}"`
|
||||
SRC_BRANCH="openEuler-22.03-LTS-SP3"
|
||||
SRC_BRANCH="openEuler-22.03-LTS-SP4"
|
||||
|
||||
#judge the open_source
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: C/C++ Cross Compiler Toolchain
|
||||
Name: gcc-cross
|
||||
Version: 1.0
|
||||
Release: 6
|
||||
Release: 7
|
||||
# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
|
||||
# GCC Runtime Exception.
|
||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||
@ -42,6 +42,12 @@ cp %{_builddir}/output/gcc_arm32le/gcc_arm32le.tar.gz %{buildroot}/tmp
|
||||
%attr(755, root, root) /tmp/gcc_arm32le.tar.gz
|
||||
|
||||
%changelog
|
||||
* Thu Nov 30 2023 zhengchenhui <zhengchenhui1@huawei.com> - 1.0-7
|
||||
-Type:Fix
|
||||
-ID:NA
|
||||
-SUG:NA
|
||||
-DESC: Fix the compilation problem caused by the missing code segment of crtbeginS.o
|
||||
|
||||
* Thu Nov 30 2023 zhengchenhui <zhengchenhui1@huawei.com> - 1.0-6
|
||||
-Type:Fix
|
||||
-ID:NA
|
||||
|
||||
@ -109,10 +109,8 @@ for file in $(find "$PREFIX" -name "*") ; do
|
||||
if [[ $get_arch =~ "x86_64" ]]
|
||||
then
|
||||
res1=$(echo $result | grep "ARM" | cat)
|
||||
if [[ "$res1" != "" ]]
|
||||
if [[ "$res1" == "" ]]
|
||||
then
|
||||
$PREFIX/bin/$TARGET-strip $file
|
||||
else
|
||||
strip $file
|
||||
fi
|
||||
else
|
||||
|
||||
@ -111,10 +111,8 @@ for file in $(find "$PREFIX" -name "*") ; do
|
||||
if [[ $get_arch =~ "x86_64" ]]
|
||||
then
|
||||
res1=$(echo $result | grep "ARM" | cat)
|
||||
if [[ "$res1" != "" ]]
|
||||
if [[ "$res1" == "" ]]
|
||||
then
|
||||
$PREFIX/bin/$TARGET-strip $file
|
||||
else
|
||||
strip $file
|
||||
fi
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user