]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- conditional use gcc4 patches - broke build on i386/i586
authorundefine <undefine@pld-linux.org>
Fri, 23 Dec 2005 15:05:04 +0000 (15:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use FHS-compatibile path to emulated libraries

Changed files:
    qemu.spec -> 1.42

qemu.spec

index b476e81e917299b05c96057df391d339d7a742e5..a1c6e5a78b40c202f5e89a2b9c84b4e30347e50d 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -6,6 +6,7 @@
 %bcond_with    kqemu                   # with QEMU accelerator module
 %bcond_with    cflags_passing          # with passing rpmcflags to Makefiles
 %bcond_with    nosdlgui                # do not use SDL gui (use X11 instead)
+%bcond_with    gcc4                    # use gcc4 patches (broke build on gcc33)
 %bcond_without dist_kernel             # without distribution kernel
 %bcond_without kernel                  # don't build kernel modules
 %bcond_without smp                     # don't build SMP module
@@ -131,8 +132,10 @@ kqemu - modu
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%if %{with gcc4}
 %patch5 -p0
 %patch6 -p1
+%endif
 # probably not needed
 # %patch7 -p1
 %{?with_nosdlgui:%patch8 -p1}
@@ -186,7 +189,8 @@ cd -
        --cc="%{__cc}" \
        --enable-alsa \
        %{!?with_kqemu:--disable-kqemu} \
-       --make="%{__make}"
+       --make="%{__make}" \
+       --interp-prefix=%{_libdir}/%{name}
 %{__make}
 %endif
 
This page took 0.112244 seconds and 4 git commands to generate.