Set CFLAGS to build debug related rpm
(cherry picked from commit 35d54c7d71123b11f025ceea853abf5bde6dda07)
This commit is contained in:
parent
f0f1018510
commit
d794cd671a
10
ck.spec
10
ck.spec
@ -1,8 +1,6 @@
|
|||||||
#%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ck
|
Name: ck
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Concurrency programming lib
|
Summary: Concurrency programming lib
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://concurrencykit.org/
|
URL: http://concurrencykit.org/
|
||||||
@ -26,6 +24,7 @@ Concurrency primitives, safe memory reclamation mechanisms and non-blocking data
|
|||||||
%setup -q -n %{name}-%{version}/
|
%setup -q -n %{name}-%{version}/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
./configure --libdir=%{_libdir} --includedir=%{_includedir}/%{name} --mandir=%{_mandir} --prefix=%{_prefix}
|
./configure --libdir=%{_libdir} --includedir=%{_includedir}/%{name} --mandir=%{_mandir} --prefix=%{_prefix}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -54,6 +53,9 @@ rm %{buildroot}%{_libdir}/libck.a
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
* Tue Sep 07 2021 lingsheng <lingsheng@huawei.com> - 0.6.0-2
|
||||||
|
- Set CFLAGS to build debug related rpm
|
||||||
|
|
||||||
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com> - 0.6.0-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user