From 5ea86490e3d1575068513b3e56ae0a9c7cfa52f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E5=BA=86?= Date: Mon, 9 Oct 2023 10:02:00 +0800 Subject: [PATCH] Fix build error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 庞庆 --- firebird.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/firebird.spec b/firebird.spec index f7a7e35..b632320 100644 --- a/firebird.spec +++ b/firebird.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 #uos %global upversion 3.0.4.33054 %global pkgversion Firebird-%{upversion}-0 @@ -45,7 +45,6 @@ BuildRequires: automake BuildRequires: libtommath-devel BuildRequires: libtool BuildRequires: ncurses-devel -BuildRequires: libtermcap-devel BuildRequires: libicu-devel BuildRequires: libedit-devel BuildRequires: gcc-c++ @@ -209,9 +208,11 @@ in production systems, under a variety of names, since 1981. %build export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="${CFLAGS} -fno-delete-null-pointer-checks" +export CXXFLAGS="${CFLAGS} -fno-delete-null-pointer-checks --std=c++14" NOCONFIGURE=1 ./autogen.sh %configure --prefix=%{_prefix} \ --disable-binreloc \ + --disable-rpath \ --with-system-editline \ --with-fbbin=%{_bindir} --with-fbsbin=%{_sbindir} \ --with-fbconf=%{_sysconfdir}/%{name} \ @@ -381,6 +382,9 @@ fi %changelog +* Mon Oct 09 2023 wangce - 3.0.4.33054-2.3.2 +- Fix build error + * Mon Aug 28 2023 yangxianzhao - 3.0.4.33054-2.3.1 - Specification spec file -- Gitee