Don't add -m32/-m64 to CXXFLAGS
authorSven Joachim <svenjoac@gmx.de>
Mon, 27 Jan 2020 20:56:03 +0000 (20:56 +0000)
committerMilan Zamazal <pdm@debian.org>
Mon, 27 Jan 2020 20:56:03 +0000 (20:56 +0000)
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

index 679eb8d90fcb740c183660ed9eae3682e9a2c6f7..85c797dcfe394dd33ad85317886899fc782240ee 100644 (file)
@@ -165,9 +165,6 @@ ifeq ($(COMP),gcc)
                        CXXFLAGS += -m$(bits)
                        LDFLAGS += -m$(bits)
                endif
-       else
-               CXXFLAGS += -m$(bits)
-               LDFLAGS += -m$(bits)
        endif
 
        ifneq ($(KERNEL),Darwin)