]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- documented optflags failure auto/ac/qemu-0_7_0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 1 May 2005 12:38:05 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu.spec -> 1.20

qemu.spec

index 71f14e79cfc47d26f05b95ccc7ae81e232f00067..e0b4de89d6fd9bb17b9265d462d07b8dadde15dc 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -14,6 +14,7 @@ Patch2:               %{name}-longjmp.patch
 Patch3:                %{name}-dot.patch
 URL:           http://fabrice.bellard.free.fr/qemu/
 BuildRequires: SDL-devel >= 1.2.1
+BuildRequires: sed >= 4.0
 ExclusiveArch: %{ix86} amd64 ppc
 # sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,11 +61,16 @@ aby dzia
 %patch2 -p1
 %patch3 -p1
 
+sed -i -e 's/sdl_static=yes/sdl_static=no/' configure
+# cannot use optflags on x86 - they cause "no register to spill" errors
+#sed -i -e 's/-Wall -O2 -g/-Wall %{rpmcflags}/' Makefile Makefile.target
+
 %build
+# --extra-cflags don't work (overridden by CFLAGS in Makefile*)
 ./configure \
        --prefix=%{_prefix} \
        --cc="%{__cc}" \
-       --make="%{__make}" \
+       --make="%{__make}"
 
 %{__make}
 
This page took 0.170878 seconds and 4 git commands to generate.