Add missing RPM_LD_FLAGS for db_dump185
Annocheck reports multiple issues due to missing LD_FLAGS Resolves: #2026417
This commit is contained in:
parent
1cbf51eb87
commit
27038c5d3e
10
libdb.spec
10
libdb.spec
@ -5,7 +5,7 @@
|
|||||||
Summary: The Berkeley DB database library for C
|
Summary: The Berkeley DB database library for C
|
||||||
Name: libdb
|
Name: libdb
|
||||||
Version: 5.3.28
|
Version: 5.3.28
|
||||||
Release: 52%{?dist}
|
Release: 53%{?dist}
|
||||||
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||||
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
||||||
# For mt19937db.c
|
# For mt19937db.c
|
||||||
@ -246,8 +246,8 @@ make -C db.1.85/PORT/%{_os} OORG="$CFLAGS"
|
|||||||
|
|
||||||
test -d dist/dist-tls || mkdir dist/dist-tls
|
test -d dist/dist-tls || mkdir dist/dist-tls
|
||||||
# Static link db_dump185 with old db-185 libraries.
|
# Static link db_dump185 with old db-185 libraries.
|
||||||
/bin/sh libtool --tag=CC --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo
|
/bin/sh libtool --tag=CC --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo
|
||||||
/bin/sh libtool --tag=LD --mode=link %{__cc} -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a
|
/bin/sh libtool --tag=LD --mode=link %{__cc} $RPM_LD_FLAGS -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a
|
||||||
|
|
||||||
# Update config files to understand aarch64
|
# Update config files to understand aarch64
|
||||||
for dir in dist lang/sql/sqlite lang/sql/jdbc lang/sql/odbc; do
|
for dir in dist lang/sql/sqlite lang/sql/jdbc lang/sql/odbc; do
|
||||||
@ -392,6 +392,10 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|||||||
%{_includedir}/%{name}/dbsql.h
|
%{_includedir}/%{name}/dbsql.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 24 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-53
|
||||||
|
- Add missing RPM_LD_FLAGS for db_dump185
|
||||||
|
- Resolves: #2026417
|
||||||
|
|
||||||
* Mon Sep 13 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-52
|
* Mon Sep 13 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-52
|
||||||
- Bad order of sys calls cause high CPU usage
|
- Bad order of sys calls cause high CPU usage
|
||||||
- Related: #2002186
|
- Related: #2002186
|
||||||
|
Loading…
Reference in New Issue
Block a user