Don't add -m32/-m64 to CXXFLAGS
authorSven Joachim <svenjoac@gmx.de>
Sat, 8 Sep 2018 19:32:46 +0000 (20:32 +0100)
committerMilan Zamazal <pdm@debian.org>
Sat, 8 Sep 2018 19:32:46 +0000 (20:32 +0100)
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 72afcc35629405af04cb8d583172472277a98330..ef3421df5821de4c4618f6690120027560b652b6 100644 (file)
@@ -159,9 +159,6 @@ ifeq ($(COMP),gcc)
                        CXXFLAGS += -m$(bits)
                        LDFLAGS += -m$(bits)
                endif
-       else
-               CXXFLAGS += -m$(bits)
-               LDFLAGS += -m$(bits)
        endif
 
        ifneq ($(KERNEL),Darwin)