rpms/smarteiffel/devel SmartEiffel.serc, 1.1, 1.2 smarteiffel.spec, 1.5, 1.6

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Sat Feb 23 19:49:50 UTC 2008


Author: gemi

Update of /cvs/pkgs/rpms/smarteiffel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3316

Modified Files:
	SmartEiffel.serc smarteiffel.spec 
Log Message:
reduce optimization level in order to compile with GCC 4.3


Index: SmartEiffel.serc
===================================================================
RCS file: /cvs/pkgs/rpms/smarteiffel/devel/SmartEiffel.serc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SmartEiffel.serc	22 Sep 2006 19:26:55 -0000	1.1
+++ SmartEiffel.serc	23 Feb 2008 19:49:17 -0000	1.2
@@ -109,9 +109,11 @@
 
 [boost]
 c_compiler_type: gcc
-c_compiler_options: -pipe -O2
+-- c_compiler_options: -pipe -O2
+c_compiler_options: -pipe -O1 -fno-strict-aliasing
 cpp_compiler_type: g++
-cpp_compiler_options: -pipe -O2
+-- cpp_compiler_options: -pipe -O2
+cpp_compiler_options: -pipe -O1 -fno-strict-aliasing
 
 [no_check]
 c_compiler_type: gcc


Index: smarteiffel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smarteiffel/devel/smarteiffel.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- smarteiffel.spec	19 Feb 2008 03:50:06 -0000	1.5
+++ smarteiffel.spec	23 Feb 2008 19:49:17 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           smarteiffel
 Version:        2.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The GNU Eiffel Compiler and Libraries
 
 Group:          Development/Languages
@@ -32,8 +32,10 @@
 
 %prep
 %setup -q -n SmartEiffel
-%define se_rpm_opt_flags `echo "-w $RPM_OPT_FLAGS" | sed -e "s|-Wall||"`
-sed -i "s|-pipe|%se_rpm_opt_flags|" install.c install/gcc.rc
+#%define se_rpm_opt_flags `echo "-w $RPM_OPT_FLAGS" | sed -e "s|-Wall||"`
+%define se_rpm_opt_flags `echo "-fno-strict-aliasing -O1 -w $RPM_OPT_FLAGS" | sed -e "s|-Wall||;s|-O2||"`
+#sed -i "s|-pipe|%se_rpm_opt_flags|" install.c install/gcc.rc
+sed -i "s|-pipe -O2|-O1 -fno-strict-aliasing|" install.c install/gcc.rc
 find . -name '*.elate' -exec rm -f '{}' ';'
 find contrib misc -type f -print | xargs chmod 0644
 
@@ -92,6 +94,9 @@
 
 
 %changelog
+* Sat Feb 23 2008 Gerard Milmeister <gemi at bluewin.ch> - 2.3-4
+- reduce optimization level in order to compile with GCC 4.3
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.3-3
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list