Commit 2c459dfe authored by Adrian Bunk's avatar Adrian Bunk Committed by Anton Gladky

Reduce of amount of debug information for 32bit. (Closes: #874186)

parent d88a0f8e
......@@ -2,6 +2,13 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Reduce size of debug symbols to fix FTBFS due to the
# 2GB/3GB address space limits on 32bit
DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
ifeq (32,$(DEB_HOST_ARCH_BITS))
export DEB_CXXFLAGS_MAINT_APPEND = -g1
endif
%:
dh $@ --with sphinxdoc --buildsystem=cmake --sourcedirectory=src/ --no-parallel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment