Use SINC by default on x86.
Enforce at least SSE1 being present.
This commit is contained in:
parent
02f84fe323
commit
a04a2e7e7a
|
@ -51,6 +51,7 @@ HAVE_D3D9 = 1
|
||||||
HAVE_NETPLAY = 1
|
HAVE_NETPLAY = 1
|
||||||
HAVE_STDIN_CMD = 1
|
HAVE_STDIN_CMD = 1
|
||||||
HAVE_THREADS = 1
|
HAVE_THREADS = 1
|
||||||
|
HAVE_SINC = 1
|
||||||
DYNAMIC = 1
|
DYNAMIC = 1
|
||||||
|
|
||||||
ifeq ($(SLIM),)
|
ifeq ($(SLIM),)
|
||||||
|
|
|
@ -81,7 +81,6 @@ do_build()
|
||||||
RetroArch_DIR="$1"
|
RetroArch_DIR="$1"
|
||||||
LIBZIPNAME="$2"
|
LIBZIPNAME="$2"
|
||||||
BUILDTYPE="$3"
|
BUILDTYPE="$3"
|
||||||
MAKEARGS="$4"
|
|
||||||
|
|
||||||
if [ ! -d "$RetroArch_DIR" ]; then
|
if [ ! -d "$RetroArch_DIR" ]; then
|
||||||
git clone git://github.com/Themaister/RetroArch.git "$RetroArch_DIR"
|
git clone git://github.com/Themaister/RetroArch.git "$RetroArch_DIR"
|
||||||
|
@ -96,8 +95,8 @@ do_build()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make -f Makefile.win clean || die "Failed to clean ..."
|
make -f Makefile.win clean || die "Failed to clean ..."
|
||||||
make -f Makefile.win $MAKEARGS CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" -j4 all SLIM=1 || die "Failed to build ..."
|
make -f Makefile.win CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" -j4 all SLIM=1 || die "Failed to build ..."
|
||||||
make -f Makefile.win $MAKEARGS CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" dist_${BUILDTYPE} SLIM=1 || die "Failed to dist ..."
|
make -f Makefile.win CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" dist_${BUILDTYPE} SLIM=1 || die "Failed to dist ..."
|
||||||
if [ -z "`find . | grep "retroarch-win"`" ]; then
|
if [ -z "`find . | grep "retroarch-win"`" ]; then
|
||||||
die "Did not find build ..."
|
die "Did not find build ..."
|
||||||
fi
|
fi
|
||||||
|
@ -116,8 +115,8 @@ do_build()
|
||||||
mv -v "$ZIP_BASE" "../$ZIP_SLIM" || die "Failed to move final build ..."
|
mv -v "$ZIP_BASE" "../$ZIP_SLIM" || die "Failed to move final build ..."
|
||||||
|
|
||||||
make -f Makefile.win clean || die "Failed to clean ..."
|
make -f Makefile.win clean || die "Failed to clean ..."
|
||||||
make -f Makefile.win $MAKEARGS CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" HAVE_D3D9=1 -j4 all || die "Failed to build ..."
|
make -f Makefile.win CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" HAVE_D3D9=1 -j4 all || die "Failed to build ..."
|
||||||
make -f Makefile.win $MAKEARGS CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" HAVE_D3D9=1 dist_${BUILDTYPE} || die "Failed to dist ..."
|
make -f Makefile.win CC="$C_COMPILER" CXX="$CXX_COMPILER" WINDRES="$WINDRES" HAVE_D3D9=1 dist_${BUILDTYPE} || die "Failed to dist ..."
|
||||||
|
|
||||||
if [ "$BUILD_PHOENIX_GUI" = "yes" ]; then
|
if [ "$BUILD_PHOENIX_GUI" = "yes" ]; then
|
||||||
zip "$ZIP_BASE" retroarch-phoenix.exe retroarch-phoenix.cfg
|
zip "$ZIP_BASE" retroarch-phoenix.exe retroarch-phoenix.cfg
|
||||||
|
@ -132,10 +131,10 @@ do_build()
|
||||||
|
|
||||||
if [ "$BUILD_32BIT" = yes ]; then
|
if [ "$BUILD_32BIT" = yes ]; then
|
||||||
message "Building for 32-bit!"
|
message "Building for 32-bit!"
|
||||||
C_COMPILER=${MINGW32_BASE}-gcc
|
C_COMPILER="${MINGW32_BASE}-gcc -msse"
|
||||||
CXX_COMPILER=${MINGW32_BASE}-g++
|
CXX_COMPILER="${MINGW32_BASE}-g++ -msse"
|
||||||
WINDRES=${MINGW32_BASE}-windres
|
WINDRES=${MINGW32_BASE}-windres
|
||||||
do_build "RetroArch-w32" "RetroArch-win32-libs.zip" "x86" ""
|
do_build "RetroArch-w32" "RetroArch-win32-libs.zip" "x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$BUILD_64BIT" = yes ]; then
|
if [ "$BUILD_64BIT" = yes ]; then
|
||||||
|
@ -143,7 +142,7 @@ if [ "$BUILD_64BIT" = yes ]; then
|
||||||
C_COMPILER=${MINGW64_BASE}-gcc
|
C_COMPILER=${MINGW64_BASE}-gcc
|
||||||
CXX_COMPILER=${MINGW64_BASE}-g++
|
CXX_COMPILER=${MINGW64_BASE}-g++
|
||||||
WINDRES=${MINGW64_BASE}-windres
|
WINDRES=${MINGW64_BASE}-windres
|
||||||
do_build "RetroArch-w64" "RetroArch-win64-libs.zip" "x86_64" "HAVE_SINC=1"
|
do_build "RetroArch-w64" "RetroArch-win64-libs.zip" "x86_64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
message "Built successfully! :)"
|
message "Built successfully! :)"
|
||||||
|
|
Loading…
Reference in New Issue