mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Tweak Makefile a bit
To fix some build problems on debian's automatic building system. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
04e1ba8aa2
commit
8689ff7d03
@@ -219,7 +219,7 @@ ifeq ($(COMP),icc)
|
||||
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 @@ ifeq ($(os),osx)
|
||||
endif
|
||||
|
||||
### 3.3 General linker settings
|
||||
LDFLAGS += -lpthread $(EXTRALDFLAGS)
|
||||
LDFLAGS = -lpthread $(EXTRALDFLAGS)
|
||||
|
||||
ifeq ($(os),osx)
|
||||
LDFLAGS += -arch $(arch)
|
||||
|
||||
Reference in New Issue
Block a user