!29 [sync] PR-27: fix -mtune for loongarch64
From: @openeuler-sync-bot Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
a4f1fc555d
@ -1,7 +1,7 @@
|
|||||||
%undefine __cmake_in_source_build
|
%undefine __cmake_in_source_build
|
||||||
Name: leveldb
|
Name: leveldb
|
||||||
Version: 1.23
|
Version: 1.23
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A fast and lightweight key/value database library by Google
|
Summary: A fast and lightweight key/value database library by Google
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/google/leveldb
|
URL: https://github.com/google/leveldb
|
||||||
@ -52,7 +52,7 @@ EOF
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%ifarch riscv64
|
%ifarch riscv64 loongarch64
|
||||||
MTUNE=
|
MTUNE=
|
||||||
%else
|
%else
|
||||||
MTUNE="-mtune=generic"
|
MTUNE="-mtune=generic"
|
||||||
@ -102,6 +102,9 @@ make install
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 25 2024 Pengda Dou <doupengda@loongson.cn> - 1.23-4
|
||||||
|
- fix -mtune for loongarch64
|
||||||
|
|
||||||
* Sat May 6 2023 will_niutao <niutao2@huawei.com> - 1.23-3
|
* Sat May 6 2023 will_niutao <niutao2@huawei.com> - 1.23-3
|
||||||
- add cmake to devel package
|
- add cmake to devel package
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user