mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +00:00
Modified compile flags
This commit is contained in:
parent
da5853083c
commit
9fcbe2698a
@ -95,8 +95,8 @@ while getopts "::t:oj:srcxzff:" OPTION; do
|
|||||||
f)
|
f)
|
||||||
echo "[opt] Enabling abusive optimizations..."
|
echo "[opt] Enabling abusive optimizations..."
|
||||||
DO_OPTIMIZE="yes"
|
DO_OPTIMIZE="yes"
|
||||||
ffast_math="-fno-math-errno -funsafe-math-optimizations -fno-trapping-math -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fcx-limited-range" #workaround SQLite3 fail
|
ffast_math="-fno-math-errno -funsafe-math-optimizations -fno-signed-zeros -fno-trapping-math -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fcx-limited-range" #workaround SQLite3 fail
|
||||||
CFLAGS="$CFLAGS -O2 -DSQLITE_HAVE_ISNAN $ffast_math -fno-signed-zeros -funsafe-loop-optimizations -fomit-frame-pointer -frename-registers -funroll-loops -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftracer -ftree-loop-im -fivopts"
|
CFLAGS="$CFLAGS -O2 -DSQLITE_HAVE_ISNAN $ffast_math -funsafe-loop-optimizations -fomit-frame-pointer -frename-registers -funswitch-loops -fpredictive-commoning -ftree-vectorize -ftracer -ftree-loop-im -fivopts"
|
||||||
if [ "$OPTARG" == "arm" ]; then
|
if [ "$OPTARG" == "arm" ]; then
|
||||||
CFLAGS="$CFLAGS -mfloat-abi=softfp -mfpu=vfp"
|
CFLAGS="$CFLAGS -mfloat-abi=softfp -mfpu=vfp"
|
||||||
elif [ "$OPTARG" == "x86_64" ]; then
|
elif [ "$OPTARG" == "x86_64" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user