Author: Oliver Korff <ok@xynyx.de>
Description: Thanks to Joona Kiiski: the makefile should should be adjusted 
this way to ensure proper building the stockfish sources.
Index: stockfish-1.8.0/src/Makefile
===================================================================
--- stockfish-1.8.0.orig/src/Makefile	2010-07-05 20:40:15.000000000 +0200
+++ stockfish-1.8.0/src/Makefile	2010-07-05 20:42:47.000000000 +0200
@@ -219,7 +219,7 @@
 endif
 
 ### 3.2 General compiler settings
-CXXFLAGS += -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
+CXXFLAGS = -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
 
 ifeq ($(comp),icc)
 	CXXFLAGS += -wd383,869,981,10187,10188,11505,11503
@@ -230,7 +230,7 @@
 endif
 
 ### 3.3 General linker settings
-LDFLAGS += -lpthread $(EXTRALDFLAGS)
+LDFLAGS = -lpthread $(EXTRALDFLAGS)
 
 ifeq ($(os),osx)
 	LDFLAGS += -arch $(arch)
