From 28cc179ee2934c74739e737623b83e290c0c7db3 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 9 Feb 2018 14:53:10 +0100 Subject: [PATCH] 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. --- sqlite.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sqlite.spec b/sqlite.spec index 60d63e4..f2f46dd 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -10,7 +10,7 @@ Summary: Library that implements an embeddable SQL database engine Name: sqlite Version: %{rpmver} -Release: 2%{?dist} +Release: 3%{?dist} License: Public Domain Group: Applications/Databases 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 %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_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 \ -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \ @@ -248,6 +248,9 @@ make test %endif %changelog +* Fri Feb 9 2018 Florian Weimer - 3.22.0-3 +- Use LDFLAGS from redhat-rpm-config for building lemon, too + * Mon Feb 05 2018 Petr Kubat - 3.22.0-2 - Fixed issue with some walro2 tests failing on ppc64