From: Sven Joachim Date: Sat, 3 May 2025 17:47:24 +0000 (+0200) Subject: Don't add -m32/-m64 to CXXFLAGS X-Git-Tag: archive/raspbian/17-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=530c2e7928168505be29b9a44286feb0b4536425;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 76b9478..dc8e225 100644 --- a/src/Makefile +++ b/src/Makefile @@ -445,9 +445,6 @@ ifeq ($(COMP),gcc) endif else ifeq ($(arch),loongarch64) CXXFLAGS += -latomic - else - CXXFLAGS += -m$(bits) - LDFLAGS += -m$(bits) endif ifeq ($(arch),$(filter $(arch),armv7))