summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-08 15:29:42 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-08 15:29:42 +0000
commit178034e25653af1e53e168a6c6d67dc633731e95 (patch)
treea2c319b6cf6102f3257fc568c05d58487d8c3881
parent7ee50df154dc3b82c6fd0f33edfe1410fa9e92c7 (diff)
automatic import of file-reorganize
-rw-r--r--file-reorganize.spec4
-rw-r--r--sources2
2 files changed, 4 insertions, 2 deletions
diff --git a/file-reorganize.spec b/file-reorganize.spec
index af2c446..656877e 100644
--- a/file-reorganize.spec
+++ b/file-reorganize.spec
@@ -19,7 +19,7 @@ BuildRequires: wget, dnf-plugins-core, binutils, glibc-devel, gcc-c++, openssl
# 安装cangjie
plt=`uname -m`
-if [[ $plt -eq "x86_64" ]]; then
+if [[ $plt == "x86_64" ]]; then
wget -O Cangjie-0.53.13-linux_x64.tar.gz "https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.13-linux_x64.tar.gz&objectKey=6719f1eb3af6947e3c6af327"
tar -xzvf Cangjie-0.53.13-linux_x64.tar.gz
source cangjie/envsetup.sh
@@ -31,6 +31,8 @@ fi
%build
source %{_builddir}/%{name}-%{version}/cangjie/envsetup.sh
+cp /usr/lib/gcc/x86_64-openEuler-linux/12/crtbeginS.o %{_builddir}/%{name}-%{version}
+cp /usr/lib/gcc/x86_64-openEuler-linux/12/crtendS.o %{_builddir}/%{name}-%{version}
cjpm build
%install
diff --git a/sources b/sources
index ed517fb..9be5471 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7e404714998321c4cff765702de7b792 file-reorganize-1.0.tar.gz
+5da5e72a63206b895abd5dea3772d408 file-reorganize-1.0.tar.gz