mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-27 04:26:24 +08:00
Correct 'prefetch' handling for Makefile
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
cab8b78846
commit
ac4c971e06
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user