From: Sven Joachim Date: Thu, 7 Jan 2021 20:18:11 +0000 (+0000) Subject: Don't add -m32/-m64 to CXXFLAGS X-Git-Tag: archive/raspbian/12-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=03c13f3be0c5817dd80de49bef909df922ff92e2;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 340b300..397bc36 100644 --- a/src/Makefile +++ b/src/Makefile @@ -314,9 +314,6 @@ ifeq ($(COMP),gcc) CXXFLAGS += -m$(bits) LDFLAGS += -m$(bits) endif - else - CXXFLAGS += -m$(bits) - LDFLAGS += -m$(bits) endif ifeq ($(arch),$(filter $(arch),armv7))