From e682bd012902eefa972085eb18cae1c8aaae9aa7 Mon Sep 17 00:00:00 2001 From: Sven Joachim Date: Mon, 5 Dec 2022 18:54:27 +0000 Subject: [PATCH] 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 --- src/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 917bd5c..db48421 100644 --- a/src/Makefile +++ b/src/Makefile @@ -376,9 +376,6 @@ ifeq ($(COMP),gcc) ifeq ($(ARCH),riscv64) CXXFLAGS += -latomic endif - else - CXXFLAGS += -m$(bits) - LDFLAGS += -m$(bits) endif ifeq ($(arch),$(filter $(arch),armv7)) -- 2.30.2