From 100c94ad9394c545f9f5673ce0cfdc895ef24dae Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Tue, 26 Nov 2019 09:48:13 +0100 Subject: [PATCH] We are already using -g1 everywhere, don't make the rules file look difficult to understand --- debian/rules | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/debian/rules b/debian/rules index 38aa563f..82bc9aaa 100755 --- a/debian/rules +++ b/debian/rules @@ -90,15 +90,7 @@ endif export CC=gcc-$(GCC_VERSION) export CXX=g++-$(GCC_VERSION) -opt_flags = -O2 -DNDEBUG - -# Only enable g1 on archs which needs it (it fixes an OOM during dh_strip due to huge symbols) -ifeq ($(DEB_HOST_ARCH_BITS),32) -opt_flags += -g1 -else -# Should be -g, but this causes buildd disk space issues -opt_flags += -g1 -endif +opt_flags = -O2 -DNDEBUG -g1 ifneq (,$(findstring $(DEB_HOST_ARCH),armel)) opt_flags += -marm