From fb16b3d24f52d42f080871ac1712f82ae25cce96 Mon Sep 17 00:00:00 2001 From: rudson Date: Wed, 28 Mar 2007 03:26:56 +0000 Subject: atualizações... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1131 370017ae-e619-0410-ac65-c121f96126d4 --- app/emulation/qemu/qemu.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'app/emulation/qemu') diff --git a/app/emulation/qemu/qemu.SlackBuild b/app/emulation/qemu/qemu.SlackBuild index 46806c99..0c31c5fb 100755 --- a/app/emulation/qemu/qemu.SlackBuild +++ b/app/emulation/qemu/qemu.SlackBuild @@ -62,15 +62,19 @@ LIBDIR=$PREFIX/lib # Seleciona flags para o compilador if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mtune=i686" + TARGET_LIST="i386-linux-user i386-softmmu" elif [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + TARGET_LIST="i386-linux-user i386-softmmu" elif [ "$ARCH" = "i686" ]; then - #SLKCFLAGS="-O2 -march=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686" + TARGET_LIST="i386-linux-user i386-softmmu" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" + TARGET_LIST="ppc-linux-user ppc-softmmu" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" + TARGET_LIST="x86_64-linux-user x86_64-softmmu" LIBDIR="$PREFIX/lib64" fi @@ -89,7 +93,10 @@ cd $PKG_DIR # -------------- Configura programa --------------------- # Configura programa -CFLAGS="$SLKCFLAGS" ./configure --prefix=$PREFIX --libdir=$LIBDIR $OPTCONF || exit $ERROR_CONF +CFLAGS="$SLKCFLAGS" \ + ./configure --target-list="$TARGET_LIST" \ + --prefix=$PREFIX \ + --libdir=$LIBDIR $OPTCONF || exit $ERROR_CONF # ---------------- Compila programa --------------------- make -j1 || exit $ERROR_MAKE -- cgit v1.2.3