!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:
openeuler-ci-bot 2024-10-16 02:21:07 +00:00 committed by Gitee
commit a4f1fc555d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%undefine __cmake_in_source_build
Name: leveldb
Version: 1.23
Release: 3
Release: 4
Summary: A fast and lightweight key/value database library by Google
License: BSD-3-Clause
URL: https://github.com/google/leveldb
@ -52,7 +52,7 @@ EOF
%build
%ifarch riscv64
%ifarch riscv64 loongarch64
MTUNE=
%else
MTUNE="-mtune=generic"
@ -102,6 +102,9 @@ make install
%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
- add cmake to devel package