We are already using -g1 everywhere, don't make the rules file look difficult to understand

This commit is contained in:
Gianfranco Costamagna 2019-11-26 09:48:13 +01:00
parent 3e6b8215c4
commit 100c94ad93

10
debian/rules vendored
View File

@ -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