diff options
| -rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a75bb8b7d4..631b759349 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
| @@ -544,7 +544,13 @@ EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} " | |||
| 544 | ################################################################## | 544 | ################################################################## |
| 545 | # Optimization flags. | 545 | # Optimization flags. |
| 546 | ################################################################## | 546 | ################################################################## |
| 547 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types" | 547 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types \ |
| 548 | -fdebug-prefix-map=${B}=/usr/src/${BPN} \ | ||
| 549 | -fdebug-prefix-map=${S}=/usr/src/${BPN} \ | ||
| 550 | -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ | ||
| 551 | -fdebug-prefix-map=${STAGING_DIR_HOST}= \ | ||
| 552 | " | ||
| 553 | |||
| 548 | # Disabled until the option works properly -feliminate-dwarf2-dups | 554 | # Disabled until the option works properly -feliminate-dwarf2-dups |
| 549 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | 555 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |
| 550 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" | 556 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" |
