From a18f99cf72651da4215ae7adf2f4191a9d5f2422 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Fri, 17 Feb 2017 15:40:39 +0100 Subject: [PATCH] specfile: explicitly added '-g' option into CFLAGS & CXXFLAGS To correctly build .debug_info for i386 architecture. --- gmp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gmp.spec b/gmp.spec index 5e92d07..210e449 100644 --- a/gmp.spec +++ b/gmp.spec @@ -6,7 +6,7 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 6.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 URL: http://gmplib.org/ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}.tar.bz2 @@ -108,7 +108,7 @@ sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|-lstdc++ -lm|-lstdc++|' \ -i libtool export LD_LIBRARY_PATH=`pwd`/.libs -make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} +make CFLAGS="$RPM_OPT_FLAGS -g" CXXFLAGS="$RPM_OPT_FLAGS -g" %{?_smp_mflags} cd .. #%ifarch %{ix86} #mkdir build-sse2 @@ -250,6 +250,9 @@ exit 0 %{_libdir}/libgmpxx.a %changelog +* Fri Feb 17 2017 David Kaspar [Dee'Kej] - 1:6.1.2-3 +- Explicitly added '-g' option into CFLAGS & CXXFLAGS to correctly build .debug_info for i386 + * Fri Feb 10 2017 Fedora Release Engineering - 1:6.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild