rpms/libflaim/devel libflaim-4.9.1052-optflags.patch, NONE, 1.1 libflaim.spec, 1.13, 1.14

Ville Skyttä scop at fedoraproject.org
Tue Jun 9 19:26:11 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/libflaim/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24037

Modified Files:
	libflaim.spec 
Added Files:
	libflaim-4.9.1052-optflags.patch 
Log Message:
* Sun May 10 2009 Ville Skyttä <ville.skytta at iki.fi> - 4.9.1052-3
- Build with $RPM_OPT_FLAGS (#500062).


libflaim-4.9.1052-optflags.patch:

--- NEW FILE libflaim-4.9.1052-optflags.patch ---
diff -up libflaim-4.9.1052/flaim/Makefile~ libflaim-4.9.1052/flaim/Makefile
--- libflaim-4.9.1052/flaim/Makefile~	2007-09-06 18:13:15.000000000 +0300
+++ libflaim-4.9.1052/flaim/Makefile	2009-05-10 17:09:08.000000000 +0300
@@ -962,7 +962,7 @@ ifdef unix_target
 	endif
 
 	gcc_optimization_flags = \
-		-O \
+		$(CXXFLAGS) \
 		-foptimize-sibling-calls \
 		-fstrength-reduce -fcse-follow-jumps \
 		-fcse-skip-blocks \


Index: libflaim.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libflaim/devel/libflaim.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- libflaim.spec	25 Feb 2009 14:44:45 -0000	1.13
+++ libflaim.spec	9 Jun 2009 19:25:41 -0000	1.14
@@ -8,11 +8,12 @@ BuildRequires:	ncurses-devel
 Summary:	Embeddable cross-platform database engine
 URL:		http://forge.novell.com/modules/xfmod/project/?flaim
 Version:	4.9.1052
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPLv2
 Group:		System Environment/Libraries
 Source:		http://forgeftp.novell.com/flaim/development/flaim/downloads/source/%{name}-4.9.1052.tar.gz
 Patch0:		fortify-source.patch
+Patch1:		%{name}-4.9.1052-optflags.patch
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 %description
@@ -37,10 +38,11 @@ and robust.
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p1
 
 %build
 cd flaim/
-make CXXFLAGS="$RPM_OPT_FLAGS" lib_dir_name=%{_lib} libs
+make CXXFLAGS="$RPM_OPT_FLAGS -Wno-error" lib_dir_name=%{_lib} verbose libs
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -68,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/flaimtk.h
 
 %changelog
+* Sun May 10 2009 Ville Skyttä <ville.skytta at iki.fi> - 4.9.1052-3
+- Build with $RPM_OPT_FLAGS (#500062).
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.9.1052-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list