From 4afd97ae894f57de8b24b7490dad33a299e2bc58 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 4 May 2016 03:37:56 +0000 Subject: [PATCH] add config example for keeping build path out of output debug info --- config.mak.dist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.mak.dist b/config.mak.dist index c281467..4b7ad6d 100644 --- a/config.mak.dist +++ b/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.