fix -mtune for loongarch64

This commit is contained in:
doupengda 2024-04-25 16:51:31 +08:00
parent 23015ef2ce
commit 7adfdd8344

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