diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-03-28 03:26:56 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-03-28 03:26:56 +0000 |
commit | fb16b3d24f52d42f080871ac1712f82ae25cce96 (patch) | |
tree | 6fcd2d8176ca380fd529b6bc589980e6d0aa342c /app | |
parent | 024c3268a0d1e06857eef7eca131a7cbb6ea3bb8 (diff) | |
download | slackbuilds-fb16b3d24f52d42f080871ac1712f82ae25cce96.tar.gz slackbuilds-fb16b3d24f52d42f080871ac1712f82ae25cce96.tar.bz2 |
atualizações...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1131 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app')
-rwxr-xr-x | app/emulation/qemu/qemu.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
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 |