SPECS: wvstreams.spec - -O2 after -Os overrides it, fixed

sparky sparky at pld-linux.org
Sun Feb 26 22:06:31 CET 2006


Author: sparky                       Date: Sun Feb 26 21:06:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -O2 after -Os overrides it, fixed

---- Files affected:
SPECS:
   wvstreams.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/wvstreams.spec
diff -u SPECS/wvstreams.spec:1.25 SPECS/wvstreams.spec:1.26
--- SPECS/wvstreams.spec:1.25	Wed Jan 18 21:25:58 2006
+++ SPECS/wvstreams.spec	Sun Feb 26 22:06:26 2006
@@ -20,6 +20,7 @@
 %{?with_doc:BuildRequires:	doxygen}
 BuildRequires:	libstdc++-devel
 BuildRequires:	openssl-devel >= 0.9.7d
+BuildRequires:	sed >= 4.0
 Obsoletes:	libwvstreams
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -68,13 +69,21 @@
 #ugly hack - fix it
 cp include/wvsslhacks.h crypto
 cp include/wvtelephony.h telephony
+sed 's/-O2//' -i xplc/configure.ac *.mk
 
 %build
+cp -f /usr/share/automake/config.sub xplc
+cd xplc
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%configure
+cd ..
+
 # despite .fpic rules the same .o files are used for .a and .so - need -fPIC
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
-cp -f /usr/share/automake/config.sub xplc
 %configure \
 	--without-vorbis
 
@@ -122,6 +131,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2006/02/26 21:06:26  sparky
+- -O2 after -Os overrides it, fixed
+
 Revision 1.25  2006/01/18 20:25:58  sparky
 - added gcc4 patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wvstreams.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list