]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- pass --disable-gcc-check if with gcc4 (but doesn't build anyway)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Dec 2005 13:47:31 +0000 (13:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu.spec -> 1.43

qemu.spec

index a1c6e5a78b40c202f5e89a2b9c84b4e30347e50d..29835f643783612394edd3cfa656342e675c5720 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -44,6 +44,7 @@ Patch10:      %{name}-gcc33.patch
 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
@@ -187,8 +188,9 @@ cd -
 ./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}
This page took 0.211146 seconds and 4 git commands to generate.