mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 20:16:14 +08:00
Fix makefile: 32 bit builds without optimization.
Fixes failing build for make ARCH=x86-32 clean && make ARCH=x86-32 optimize=no build by passing -m32 also to the link step. Extend travis testing accordingly. No functional change. Closes #999
This commit is contained in:
committed by
Joona Kiiski
parent
e0d91f4c44
commit
1e814e0ca0
@@ -54,6 +54,8 @@ script:
|
||||
# verify against reference
|
||||
- make clean && make ARCH=x86-64 build > /dev/null && ../tests/signature.sh $benchref
|
||||
- make clean && make ARCH=x86-32 build > /dev/null && ../tests/signature.sh $benchref
|
||||
- make clean && make ARCH=x86-64 optimize=no debug=yes build > /dev/null && ../tests/signature.sh $benchref
|
||||
- make clean && make ARCH=x86-32 optimize=no debug=yes build > /dev/null && ../tests/signature.sh $benchref
|
||||
#
|
||||
# perft
|
||||
#
|
||||
|
||||
@@ -155,9 +155,11 @@ ifeq ($(COMP),gcc)
|
||||
ifeq ($(ARCH),armv7)
|
||||
ifeq ($(OS),Android)
|
||||
CXXFLAGS += -m$(bits)
|
||||
LDFLAGS += -m$(bits)
|
||||
endif
|
||||
else
|
||||
CXXFLAGS += -m$(bits)
|
||||
LDFLAGS += -m$(bits)
|
||||
endif
|
||||
|
||||
ifneq ($(KERNEL),Darwin)
|
||||
|
||||
Reference in New Issue
Block a user