cuda.bbclass: remove -fcanon-prefix-map from DEBUG_PREFIX_MAP

That's the variable that includes it, while DEBUG_FLAGS gets it
indirectly.  So do other variables that might get used with the
older compiler, so removing it from the original source variable
will fix those cases, too.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2023-08-23 10:52:27 -07:00
parent b6f194a761
commit ec47fbe6ac

View File

@@ -14,7 +14,7 @@ CUDA_LDFLAGS = "\
LDFLAGS:prepend:cuda = "${TOOLCHAIN_OPTIONS} "
LDFLAGS:append:cuda = " ${CUDA_LDFLAGS}"
DEBUG_FLAGS:remove:cuda = "-fcanon-prefix-map"
DEBUG_PREFIX_MAP:remove:cuda = "-fcanon-prefix-map"
def cuda_extract_compiler(compiler, d, prefix='-Xcompiler '):
args = d.getVar(compiler).split()