Don't add -m32/-m64 to CXXFLAGS
authorSven Joachim <svenjoac@gmx.de>
Sat, 12 Nov 2016 17:55:54 +0000 (17:55 +0000)
committerMilan Zamazal <pdm@debian.org>
Sat, 12 Nov 2016 17:55:54 +0000 (17:55 +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 cdedd25d0da4cb5747594ffd17ec4efad4759067..41eeb552d2a1e26e26faacc4018f2ef2a83df35d 100644 (file)
@@ -156,8 +156,6 @@ ifeq ($(COMP),gcc)
                ifeq ($(OS),Android)
                        CXXFLAGS += -m$(bits)
                endif
-       else
-               CXXFLAGS += -m$(bits)
        endif
 
        ifneq ($(KERNEL),Darwin)