mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43: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
|
### 2.1. General
|
||||||
debug = no
|
debug = no
|
||||||
optimize = yes
|
optimize = yes
|
||||||
no_prefetch = yes
|
|
||||||
|
|
||||||
### 2.2 Architecture specific
|
### 2.2 Architecture specific
|
||||||
|
|
||||||
|
@ -279,12 +278,10 @@ endif
|
||||||
|
|
||||||
### 3.8 prefetch
|
### 3.8 prefetch
|
||||||
ifeq ($(prefetch),yes)
|
ifeq ($(prefetch),yes)
|
||||||
no_prefetch = no
|
CXXFLAGS += -msse
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(no_prefetch),yes)
|
|
||||||
CXXFLAGS += -msse -DNO_PREFETCH
|
|
||||||
DEPENDFLAGS += -msse
|
DEPENDFLAGS += -msse
|
||||||
|
else
|
||||||
|
CXXFLAGS += -DNO_PREFETCH
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### 3.9 bsfq
|
### 3.9 bsfq
|
||||||
|
|
Loading…
Add table
Reference in a new issue