From: Jakub Bogusz Date: Sun, 1 May 2005 12:38:05 +0000 (+0000) Subject: - documented optflags failure X-Git-Tag: auto/ac/qemu-0_7_0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fqemu.git;a=commitdiff_plain;h=c30480149ddafb3ee223c17fb3abb1a5bf5fa2bb - documented optflags failure Changed files: qemu.spec -> 1.20 --- diff --git a/qemu.spec b/qemu.spec index 71f14e7..e0b4de8 100644 --- 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}