Use LDFLAGS from redhat-rpm-config for building lemon, too
Without passing $RPM_LD_FLAGS explicitly, lemon will not be linked with the Fedora linker flags.
This commit is contained in:
parent
356bcdfff8
commit
28cc179ee2
@ -10,7 +10,7 @@
|
|||||||
Summary: Library that implements an embeddable SQL database engine
|
Summary: Library that implements an embeddable SQL database engine
|
||||||
Name: sqlite
|
Name: sqlite
|
||||||
Version: %{rpmver}
|
Version: %{rpmver}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
URL: http://www.sqlite.org/
|
URL: http://www.sqlite.org/
|
||||||
@ -151,7 +151,7 @@ This package contains the analysis program for %{name}.
|
|||||||
autoconf # Rerun with new autoconf to add support for aarm64
|
autoconf # Rerun with new autoconf to add support for aarm64
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
export CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||||
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 \
|
-DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 \
|
||||||
-DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \
|
-DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \
|
||||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||||
@ -248,6 +248,9 @@ make test
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 9 2018 Florian Weimer <fweimer@redhat.com> - 3.22.0-3
|
||||||
|
- Use LDFLAGS from redhat-rpm-config for building lemon, too
|
||||||
|
|
||||||
* Mon Feb 05 2018 Petr Kubat <pkubat@redhat.com> - 3.22.0-2
|
* Mon Feb 05 2018 Petr Kubat <pkubat@redhat.com> - 3.22.0-2
|
||||||
- Fixed issue with some walro2 tests failing on ppc64
|
- Fixed issue with some walro2 tests failing on ppc64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user