mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00: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
|
# verify against reference
|
||||||
- make clean && make ARCH=x86-64 build > /dev/null && ../tests/signature.sh $benchref
|
- 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-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
|
# perft
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -155,9 +155,11 @@ ifeq ($(COMP),gcc)
|
|||||||
ifeq ($(ARCH),armv7)
|
ifeq ($(ARCH),armv7)
|
||||||
ifeq ($(OS),Android)
|
ifeq ($(OS),Android)
|
||||||
CXXFLAGS += -m$(bits)
|
CXXFLAGS += -m$(bits)
|
||||||
|
LDFLAGS += -m$(bits)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
CXXFLAGS += -m$(bits)
|
CXXFLAGS += -m$(bits)
|
||||||
|
LDFLAGS += -m$(bits)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(KERNEL),Darwin)
|
ifneq ($(KERNEL),Darwin)
|
||||||
|
|||||||
Reference in New Issue
Block a user