mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +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:
parent
e0d91f4c44
commit
1e814e0ca0
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue