mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-28 11:02:28 +00:00
gcc-for-nvcc: update DEBUG_PREFIX_MAP
The default prefix map settings have switched to using -ffile-prefix-map, but the gcc 10 compiler we're building here needs the old -fmacro-prefix-map and -fdebug-prefix-map settings, so add them back in for these recipes. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -2,6 +2,16 @@ require gcc-for-nvcc-multilib-config.inc
|
||||
require gcc-for-nvcc-shared-source.inc
|
||||
|
||||
DEBUG_PREFIX_MAP:remove:class-target = "-fcanon-prefix-map"
|
||||
DEBUG_PREFIX_MAP:append:class-target = "\
|
||||
-fmacro-prefix-map=${S}=${TARGET_DBGSRC_DIR} \
|
||||
-fdebug-prefix-map=${S}=${TARGET_DBGSRC_DIR} \
|
||||
-fmacro-prefix-map=${B}=${TARGET_DBGSRC_DIR} \
|
||||
-fdebug-prefix-map=${B}=${TARGET_DBGSRC_DIR} \
|
||||
-fdebug-prefix-map=${STAGING_DIR_HOST}= \
|
||||
-fmacro-prefix-map=${STAGING_DIR_HOST}= \
|
||||
-fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
|
||||
-fmacro-prefix-map=${STAGING_DIR_NATIVE}= \
|
||||
"
|
||||
|
||||
#
|
||||
# Build the list of lanaguages to build.
|
||||
|
||||
Reference in New Issue
Block a user