estou tentando criar pacotes i686 com a opcao -march=core2 (meu
processador e um core 2 duo)
queria ver com vcs se esta correto meu KDE.options
----------------------------------------------------------
[EMAIL PROTECTED]:/home/alexsp# cat /root/srckde/kde/KDE.options
# Set default version/arch/build. You can override these settings
# in the SlackBuild scripts for each package (koffice, for example,
# usually has a different version number), or by setting your own
# environment variables.
if [ -z $VERSION ]; then
export VERSION=3.5.9
fi
if [ -z $ARCH ]; then
export ARCH=i686
fi
if [ -z $BUILD ]; then
export BUILD=2
fi
# Target arch should be set to i486 for any 32-bit x86, unless
# you want problems finding your compiler.
if [ -z $TARGET ]; then
if [ "$ARCH" = "i386" ]; then
export TARGET=i486
elif [ "$ARCH" = "i486" ]; then
export TARGET=i486
elif [ "$ARCH" = "s390" ]; then
export TARGET=s390
elif [ "$ARCH" = "x86_64" ]; then
export TARGET=x86_64
fi
fi
# Use this as CFLAGS and CXXFLAGS:
if [ -z "$CPUOPT" ]; then
if [ "$ARCH" = "i386" ]; then
export CPUOPT="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i686" ]; then
export CPUOPT="-O2 -march=core2"
elif [ "$ARCH" = "s390" ]; then
export CPUOPT="-O2"
elif [ "$ARCH" = "x86_64" ]; then
export CPUOPT="-O2"
fi
fi
# Number of jobs to compile at once:
if [ -z "$NUMJOBS" ]; then
export NUMJOBS=-j5
fi
--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---