SPECS: qemu.spec - pass --disable-gcc-check if with gcc4 (but does...

qboosh qboosh at pld-linux.org
Sun Dec 25 14:47:36 CET 2005


Author: qboosh                       Date: Sun Dec 25 13:47:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass --disable-gcc-check if with gcc4 (but doesn't build anyway)

---- Files affected:
SPECS:
   qemu.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.42 SPECS/qemu.spec:1.43
--- SPECS/qemu.spec:1.42	Fri Dec 23 16:05:04 2005
+++ SPECS/qemu.spec	Sun Dec 25 14:47:31 2005
@@ -45,6 +45,7 @@
 URL:		http://fabrice.bellard.free.fr/qemu/
 BuildRequires:	SDL-devel >= 1.2.1
 BuildRequires:	alsa-lib-devel
+%{!?with_gcc4:BuildRequires:	gcc < 5:4.0}
 %if %{with kqemu} && %{with dist_kernel}
 BuildRequires:	kernel-module-build >= 2.6.7
 %endif
@@ -188,8 +189,9 @@
 ./configure \
 	--prefix=%{_prefix} \
 	--cc="%{__cc}" \
-	--enable-alsa \
+	%{?with_gcc4:--disable-gcc-check} \
 	%{!?with_kqemu:--disable-kqemu} \
+	--enable-alsa \
 	--make="%{__make}" \
 	--interp-prefix=%{_libdir}/%{name}
 %{__make}
@@ -290,6 +292,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2005/12/25 13:47:31  qboosh
+- pass --disable-gcc-check if with gcc4 (but doesn't build anyway)
+
 Revision 1.42  2005/12/23 15:05:04  undefine
 - conditional use gcc4 patches - broke build on i386/i586
 - use FHS-compatibile path to emulated libraries
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qemu.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list