From 04625716b9d020892fbd60229db4d62ec26be33f Mon Sep 17 00:00:00 2001 From: FacialTurd Date: Sat, 1 Jan 2011 09:52:55 -0800 Subject: [PATCH] -march="native" seems to cause some math issues, replacing with i586 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 Makefile diff --git a/Makefile b/Makefile old mode 100755 new mode 100644 index 7f3cfd0dd..a3d779be0 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ CFLAGS := -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ OFLAGS := -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations LFLAGS := -lSDL -lm -lbz2 LFLAGS_X := -lm -lbz2 -lSDLmain -MFLAGS_SSE3 := -march=native -DX86 -DX86_SSE3 -msse3 -MFLAGS_SSE2 := -march=native-DX86 -DX86_SSE2 -msse2 -MFLAGS_SSE := -march=native -DX86 -DX86_SSE +MFLAGS_SSE3 := -march=i586 -DX86 -DX86_SSE3 -msse3 +MFLAGS_SSE2 := -march=i586 -DX86 -DX86_SSE2 -msse2 +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 COMPILER := gcc LINUX_TARG := powder-64-sse2 powder-sse powder-sse2