From ac4c971e06568b583292a76853e09f990b9b23ef Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Fri, 21 May 2010 08:05:36 +0300 Subject: [PATCH 1/1] Correct 'prefetch' handling for Makefile Signed-off-by: Marco Costalba --- src/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Makefile b/src/Makefile index d2ac4211..8eef9a4c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 -- 2.39.2