Fixed the makefiles (hopefully) to not build non-optimized builds for Haswell.

This commit is contained in:
OBattler
2017-05-05 02:58:42 +02:00
parent 7610dbe209
commit 38efeeae35
2 changed files with 8 additions and 2 deletions

View File

@@ -44,8 +44,11 @@ OPTS = -DWIN32 $(EXTRAS) $(STUFF)
ifeq ($(DEBUG), y)
DFLAGS = -march=i686 -Og -ggdb -DDEBUG
else
ifeq ($(OPTIMIZED), y)
DFLAGS = -march=native -mtune=native -O6
UFLAGS = -march=i686 -O3
else
DFLAGS = -march=i686 -O3
endif
endif
AFLAGS = -msse -msse2 -mfpmath=sse
CFLAGS = $(OPTS) $(DFLAGS) $(AFLAGS) \

View File

@@ -44,8 +44,11 @@ OPTS = -DWIN32 $(EXTRAS) $(STUFF)
ifeq ($(DEBUG), y)
DFLAGS = -march=i686 -Og -ggdb -DDEBUG
else
ifeq ($(OPTIMIZED), y)
DFLAGS = -march=native -mtune=native -O6
UFLAGS = -O3
else
DFLAGS = -O3
endif
endif
AFLAGS = -msse -msse2 -mfpmath=sse
CFLAGS = $(OPTS) $(DFLAGS) $(AFLAGS) \