浏览代码

add config example for keeping build path out of output debug info

Rich Felker 9 年之前
父节点
当前提交
4afd97ae89
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      config.mak.dist

+ 6 - 0
config.mak.dist

@@ -55,6 +55,12 @@
 # GCC_CONFIG += --disable-libquadmath --disable-decimal-float
 # GCC_CONFIG += --disable-multilib
 
+# 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.
+
+# COMMON_CONFIG += --with-debug-prefix-map=$(PWD)=
+
 # The following are options needed to make certain targets work right.
 # They may be moved to main build logic rather than config.mak at some
 # point in the future.