From: Sven Joachim Date: Sat, 11 Nov 2023 20:21:24 +0000 (+0100) Subject: Don't add -m32/-m64 to CXXFLAGS X-Git-Tag: archive/raspbian/16-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7aa20c43f0a82dec8ee8113187c9d0a0b1660c9a;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 8266461..4eb2098 100644 --- a/src/Makefile +++ b/src/Makefile @@ -388,9 +388,6 @@ ifeq ($(COMP),gcc) ifeq ($(ARCH),riscv64) CXXFLAGS += -latomic endif - else - CXXFLAGS += -m$(bits) - LDFLAGS += -m$(bits) endif ifeq ($(arch),$(filter $(arch),armv7))