diff --git a/.travis.yml b/.travis.yml index 87a3e7dc..4310b1bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 # diff --git a/src/Makefile b/src/Makefile index 47b884a0..33b6d159 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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)