rpms/smarteiffel/devel SmartEiffel.serc, 1.2, 1.3 smarteiffel.spec, 1.6, 1.7
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Mon Apr 14 15:46:01 UTC 2008
Author: gemi
Update of /cvs/pkgs/rpms/smarteiffel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24343
Modified Files:
SmartEiffel.serc smarteiffel.spec
Log Message:
Index: SmartEiffel.serc
===================================================================
RCS file: /cvs/pkgs/rpms/smarteiffel/devel/SmartEiffel.serc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SmartEiffel.serc 23 Feb 2008 19:49:17 -0000 1.2
+++ SmartEiffel.serc 14 Apr 2008 15:45:22 -0000 1.3
@@ -109,11 +109,9 @@
[boost]
c_compiler_type: gcc
--- c_compiler_options: -pipe -O2
-c_compiler_options: -pipe -O1 -fno-strict-aliasing
+c_compiler_options: -pipe @RPM_OPT_FLAGS@
cpp_compiler_type: g++
--- cpp_compiler_options: -pipe -O2
-cpp_compiler_options: -pipe -O1 -fno-strict-aliasing
+cpp_compiler_options: -pipe @RPM_OPT_FLAGS@
[no_check]
c_compiler_type: gcc
Index: smarteiffel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smarteiffel/devel/smarteiffel.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- smarteiffel.spec 23 Feb 2008 19:49:17 -0000 1.6
+++ smarteiffel.spec 14 Apr 2008 15:45:22 -0000 1.7
@@ -1,6 +1,6 @@
Name: smarteiffel
Version: 2.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: The GNU Eiffel Compiler and Libraries
Group: Development/Languages
@@ -32,10 +32,14 @@
%prep
%setup -q -n SmartEiffel
-#%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
+
+%ifarch x86_64
+%define se_rpm_opt_flags `echo "-w -fno-tree-vrp -fno-tree-sra $RPM_OPT_FLAGS" | sed -e "s|-Wall||"`
+%else
+%define se_rpm_opt_flags `echo "-w -fno-tree-vrp $RPM_OPT_FLAGS" | sed -e "s|-Wall||"`
+%endif
+sed -i "s|-pipe -O2|-pipe %se_rpm_opt_flags|" install.c install/gcc.rc
+
find . -name '*.elate' -exec rm -f '{}' ';'
find contrib misc -type f -print | xargs chmod 0644
@@ -49,6 +53,7 @@
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cp -f bin/se $RPM_BUILD_ROOT%{_bindir}
+
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/SmartEiffel
for i in ace_check class_check clean compile compile_to_c finder pretty short eiffeldoc
do
@@ -94,7 +99,7 @@
%changelog
-* Sat Feb 23 2008 Gerard Milmeister <gemi at bluewin.ch> - 2.3-4
+* Sat Feb 23 2008 Gerard Milmeister <gemi at bluewin.ch> - 2.3-5
- 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
More information about the scm-commits
mailing list