--- qemu-softmmu-0.9.1-r1.ebuild.orig 2008-03-16 11:50:33.000000000 +0100 +++ qemu-softmmu-0.9.1-r1.ebuild 2008-03-16 11:50:43.000000000 +0100 @@ -67,6 +67,10 @@ # Switch off hardened tech filter-flags -fpie -fstack-protector + # Explicitly disabling all sse commands didn't help here, forcing + # pentium-mmx works. Fixes bug #212351. + use x86 && append-flags -march=pentium-mmx + myconf="--disable-gcc-check" if use alsa; then myconf="$myconf --enable-alsa" @@ -80,6 +84,7 @@ if ! use sdl ; then myconf="$myconf --disable-sdl --disable-gfx-check" fi + # econf does not work ./configure \ --prefix=/usr \ --enable-adlib \ @@ -90,11 +95,11 @@ ${myconf} \ || die "could not configure" - emake || die "make failed" + emake OS_CFLAGS="${CFLAGS}"|| die "make failed" } src_install() { - make install \ + emake install \ prefix="${D}/usr" \ bindir="${D}/usr/bin" \ datadir="${D}/usr/share/qemu" \