mixxx: unbreak x86: force SSE instructions.
This commit is contained in:
parent
5c9214be1d
commit
4b9dc2d85c
1 changed files with 10 additions and 7 deletions
|
@ -17,18 +17,21 @@ checksum="00961b5d6c1e6d6686d76e55de474b943bbeff4e59b163dddd3d9940dc1b0331"
|
|||
_scons_args="qtdir=/usr/include shoutcast=0 faad=1 tuned=0 prefix=/usr"
|
||||
|
||||
do_build() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
export CFLAGS+=" -msse"
|
||||
export CXXFLAGS+=" -msse"
|
||||
fi
|
||||
sed -i \
|
||||
-e 's/branch_name = .*/branch_name = "mixxx"/' \
|
||||
-e 's/bazaar_revision = .*/bazaar_revision = "'$version'"/' \
|
||||
src/SConscript
|
||||
|
||||
scons ${makejobs} \
|
||||
$_scons_args \
|
||||
install_root=$DESTDIR/usr
|
||||
scons ${makejobs} ${_scons_args}
|
||||
}
|
||||
do_install() {
|
||||
scons ${makejobs} \
|
||||
$_scons_args \
|
||||
install_root=$DESTDIR/usr \
|
||||
install
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
export CFLAGS+=" -msse"
|
||||
export CXXFLAGS+=" -msse"
|
||||
fi
|
||||
scons ${_scons_args} install_root=${DESTDIR}/usr install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue