Don't add -m32/-m64 to CXXFLAGS
authorSven Joachim <svenjoac@gmx.de>
Tue, 12 Mar 2019 23:54:56 +0000 (23:54 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 12 Mar 2019 23:54:56 +0000 (23:54 +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 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)