[packages/vcmi] Add -fpermissive to CXXFLAGS to oavoid problems with gcc 4.7

baggins baggins at pld-linux.org
Wed Jul 11 14:06:18 CEST 2012


commit 1d194fcc269129609619c02b5391a38176c6977d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jul 11 14:02:01 2012 +0200

    Add -fpermissive to CXXFLAGS to oavoid problems with gcc 4.7

 vcmi.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/vcmi.spec b/vcmi.spec
index d2e74c9..dce7db1 100644
--- a/vcmi.spec
+++ b/vcmi.spec
@@ -23,6 +23,8 @@ BuildRequires:	libstdc++-devel
 Suggests:	smpeg-libs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		specflags	-fpermissive
+
 # symbols defined in binaries and main library
 %define	skip_post_check_so	vcmi/Scripting/libvcmiERM.so.0.0.0
 


More information about the pld-cvs-commit mailing list