mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Correct 'prefetch' handling for Makefile
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
cab8b78846
commit
ac4c971e06
1 changed files with 3 additions and 6 deletions
|
@ -64,7 +64,6 @@ OBJS = application.o bitboard.o pawns.o material.o endgame.o evaluate.o main.o \
|
|||
### 2.1. General
|
||||
debug = no
|
||||
optimize = yes
|
||||
no_prefetch = yes
|
||||
|
||||
### 2.2 Architecture specific
|
||||
|
||||
|
@ -279,12 +278,10 @@ endif
|
|||
|
||||
### 3.8 prefetch
|
||||
ifeq ($(prefetch),yes)
|
||||
no_prefetch = no
|
||||
endif
|
||||
|
||||
ifeq ($(no_prefetch),yes)
|
||||
CXXFLAGS += -msse -DNO_PREFETCH
|
||||
CXXFLAGS += -msse
|
||||
DEPENDFLAGS += -msse
|
||||
else
|
||||
CXXFLAGS += -DNO_PREFETCH
|
||||
endif
|
||||
|
||||
### 3.9 bsfq
|
||||
|
|
Loading…
Add table
Reference in a new issue