Support specify CC
This commit is contained in:
parent
8173bc6b59
commit
ade2563a4e
@ -1,7 +1,7 @@
|
|||||||
%global commit_hash d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67
|
%global commit_hash d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67
|
||||||
Name: lmdb
|
Name: lmdb
|
||||||
Version: 0.9.30
|
Version: 0.9.30
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An extraordinarily fast, memory-efficient database
|
Summary: An extraordinarily fast, memory-efficient database
|
||||||
License: OLDAP-2.8
|
License: OLDAP-2.8
|
||||||
URL: http://symas.com/lmdb/
|
URL: http://symas.com/lmdb/
|
||||||
@ -12,6 +12,7 @@ BuildRequires: gcc, make, doxygen,
|
|||||||
|
|
||||||
Patch0: lmdb-make.patch
|
Patch0: lmdb-make.patch
|
||||||
Patch1: lmdb-s390-check.patch
|
Patch1: lmdb-s390-check.patch
|
||||||
|
Patch2: support-specify-cc.patch
|
||||||
|
|
||||||
Provides: %{name}-libs
|
Provides: %{name}-libs
|
||||||
Obsoletes: %{name}-libs < %{version}-%{release}
|
Obsoletes: %{name}-libs < %{version}-%{release}
|
||||||
@ -89,6 +90,9 @@ popd
|
|||||||
%license libraries/lib%{name}/LICENSE
|
%license libraries/lib%{name}/LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 17 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 0.9.30-3
|
||||||
|
- Support specify CC
|
||||||
|
|
||||||
* Fri Nov 25 2022 wangjiang <wangjiang37@h-partners.com> - 0.9.30-2
|
* Fri Nov 25 2022 wangjiang <wangjiang37@h-partners.com> - 0.9.30-2
|
||||||
- fix obsoletes in spec
|
- fix obsoletes in spec
|
||||||
|
|
||||||
|
|||||||
12
support-specify-cc.patch
Normal file
12
support-specify-cc.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile.orig2 openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile
|
||||||
|
--- openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile.orig2 2023-04-17 13:58:34.001243208 +0800
|
||||||
|
+++ openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile 2023-04-17 14:01:51.153795000 +0800
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
# There may be other macros in mdb.c of interest. You should
|
||||||
|
# read mdb.c before changing any of them.
|
||||||
|
#
|
||||||
|
-CC = gcc
|
||||||
|
+CC ?= gcc
|
||||||
|
AR = ar
|
||||||
|
W = -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized
|
||||||
|
THREADS = -pthread
|
||||||
Loading…
x
Reference in New Issue
Block a user