Skip to content

Commit cd66379

Browse files
committed
build-epiphany-sdk.sh: Replace source path in debug info w/ install prefix
/ * build-epiphany-sdk.sh (CFLAGS): Strip/replace source path to somewhat improve debug situation. (CXXFLAGS): Likewise. Signed-off-by: Ola Jeppsson <[email protected]>
1 parent 5921b29 commit cd66379

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2016-04-07 Ola Jeppsson <[email protected]>
2+
3+
* build-epiphany-sdk.sh (CFLAGS): Strip/replace source path to somewhat
4+
improve debug situation.
5+
(CXXFLAGS): Likewise.
6+
17
2016-03-27 Ola Jeppsson <[email protected]>
28

39
* components.conf: Use epiphany-libs 2016.3

build-epiphany-sdk.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ else
203203
sdk_debug_str=""
204204
fi
205205

206+
export CFLAGS="-fdebug-prefix-map=${basedir}=${ESDK}/src ${CFLAGS}"
207+
export CXXLAGS="-fdebug-prefix-map=${basedir}=${ESDK}/src ${CXXFLAGS}"
208+
206209
if [ "xyes" = "x$CLEAN" ]; then
207210
toolchain_clean_str="--clean-build --clean-host"
208211
sdk_clean_str="--clean"

0 commit comments

Comments
 (0)