Skip to content
Snippets Groups Projects
Commit 4dc4aadc authored by Nicholas Guriev's avatar Nicholas Guriev
Browse files

Define RPL_CONSUMER_TYPE_ERASED_ALWAYS

 * GCC consumes too much memory in Release build. This macro gives its a clue,
   and the compiler uses less RAM.
 * Remove a workaround for 32-bit processors.
parent b27bc737
Branches
Tags
No related merge requests found
......@@ -30,6 +30,7 @@ GYPFLAGS += \
EXTRA_MACROS += \
DEBIAN_API_ID \
RPL_CONSUMER_TYPE_ERASED_ALWAYS \
TDESKTOP_DISABLE_AUTOUPDATE \
TDESKTOP_DISABLE_CRASH_REPORTS \
TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
......@@ -40,14 +41,6 @@ ifneq ($(DEB_HOST_ARCH_OS),linux)
GYPFLAGS += --no-parallel # see bugs.debian.org/799356
endif
ifneq (,$(filter $(DEB_HOST_ARCH_CPU), \
arm i386 mips mipsel ppc64el hppa m68k powerpc sh4 sparc64))
# GCC reaches the theoretical maximum of allocated virtual memory when it
# generates debugging information. So unfortunately, we have to turn this off.
# The list above contains the CPU names on which this issue was observed.
export DEB_CXXFLAGS_MAINT_STRIP += -g
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CPPFLAGS_MAINT_APPEND += $(EXTRA_MACROS:%=-D%)
export DEB_CXXFLAGS_MAINT_APPEND += -Werror=invalid-pch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment