From: Sven Joachim Date: Sat, 12 Nov 2016 17:55:54 +0000 (+0000) Subject: Don't add -m32/-m64 to CXXFLAGS X-Git-Tag: archive/raspbian/11-1+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=19e6450fca853db3642680353b7b0e6243fab626;p=stockfish.git Don't add -m32/-m64 to CXXFLAGS Bug-Debian: https://bugs.debian.org/843922 Last-Update: 2016-11-11 Adding those is not only unnecessary, but actually breaks the build on many architectures, since g++ does not recognize them when built without multilib support. Gbp-Pq: Name cxxflags.patch --- diff --git a/src/Makefile b/src/Makefile index cdedd25..41eeb55 100644 --- a/src/Makefile +++ b/src/Makefile @@ -156,8 +156,6 @@ ifeq ($(COMP),gcc) ifeq ($(OS),Android) CXXFLAGS += -m$(bits) endif - else - CXXFLAGS += -m$(bits) endif ifneq ($(KERNEL),Darwin)