config.mak.dist: add example to turn off default compressed debug sections

closes #73
This commit is contained in:
rofl0r 2021-08-20 01:07:15 +00:00
parent 3398364d6e
commit 27eb1e8bd7
1 changed files with 11 additions and 0 deletions

View File

@ -80,6 +80,17 @@
# GCC_CONFIG += --enable-languages=c,c++
# Binutils 2.32 and newer (default in mcm since mid-2019) default to emit
# compressed debug info sections, which are a relatively new feature that
# breaks older tooling, such as using so built libraries/executables with
# older binutils or gdb versions.
# This can be turned off in favor of traditional debug sections by
# uncommenting the following line.
# Compressed debug sections can still explicitly be requested by adding
# -Wl,--compress-debug-sections=zlib or -gz=zlib to C/CXXFLAGS.
# BINUTILS_CONFIG += --enable-compressed-debug-sections=none
# You can keep the local build path out of your toolchain binaries and
# target libraries with the following, but then gdb needs to be told
# where to look for source files.