Honour distribution LDFLAGS (e.g. for the annocheck)
Also removed spurious whitespaces and fixed mixed tabs and spaces. Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
3131d5f897
commit
e3066a64fd
@ -8,8 +8,8 @@ Source0: http://www.corpit.ru/mjt/%{name}/%{name}-%{version}.tar.gz
|
|||||||
# taken from the 0.77 tarball
|
# taken from the 0.77 tarball
|
||||||
Source1: libcdb.pc
|
Source1: libcdb.pc
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
%description
|
%description
|
||||||
tinycdb is a small, fast and reliable utility and subroutine library for
|
tinycdb is a small, fast and reliable utility and subroutine library for
|
||||||
creating and reading constant databases. The database structure is tuned
|
creating and reading constant databases. The database structure is tuned
|
||||||
@ -35,7 +35,7 @@ cp %{SOURCE1} debian/
|
|||||||
sed -i -e 's\/lib\/%{_lib}\g' debian/libcdb.pc
|
sed -i -e 's\/lib\/%{_lib}\g' debian/libcdb.pc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}"
|
make %{?_smp_mflags} staticlib sharedlib cdb-shared CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user