mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
-march="native" seems to cause some math issues, replacing with i586
This commit is contained in:
6
Makefile
Executable file → Normal file
6
Makefile
Executable file → Normal file
@@ -4,9 +4,9 @@ CFLAGS := -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/
|
|||||||
OFLAGS := -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations
|
OFLAGS := -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations
|
||||||
LFLAGS := -lSDL -lm -lbz2
|
LFLAGS := -lSDL -lm -lbz2
|
||||||
LFLAGS_X := -lm -lbz2 -lSDLmain
|
LFLAGS_X := -lm -lbz2 -lSDLmain
|
||||||
MFLAGS_SSE3 := -march=native -DX86 -DX86_SSE3 -msse3
|
MFLAGS_SSE3 := -march=i586 -DX86 -DX86_SSE3 -msse3
|
||||||
MFLAGS_SSE2 := -march=native-DX86 -DX86_SSE2 -msse2
|
MFLAGS_SSE2 := -march=i586 -DX86 -DX86_SSE2 -msse2
|
||||||
MFLAGS_SSE := -march=native -DX86 -DX86_SSE
|
MFLAGS_SSE := -march=i586 -DX86 -DX86_SSE
|
||||||
FLAGS_DBUG := -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -pg -DX86 -DX86_SSE3 -msse3 -lSDL -lm -lbz2 -g
|
FLAGS_DBUG := -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -pg -DX86 -DX86_SSE3 -msse3 -lSDL -lm -lbz2 -g
|
||||||
COMPILER := gcc
|
COMPILER := gcc
|
||||||
LINUX_TARG := powder-64-sse2 powder-sse powder-sse2
|
LINUX_TARG := powder-64-sse2 powder-sse powder-sse2
|
||||||
|
Reference in New Issue
Block a user