mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 19:42:41 +00:00
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:
@@ -14,7 +14,7 @@ CUDA_LDFLAGS = "\
|
|||||||
|
|
||||||
LDFLAGS:prepend:cuda = "${TOOLCHAIN_OPTIONS} "
|
LDFLAGS:prepend:cuda = "${TOOLCHAIN_OPTIONS} "
|
||||||
LDFLAGS:append:cuda = " ${CUDA_LDFLAGS}"
|
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 '):
|
def cuda_extract_compiler(compiler, d, prefix='-Xcompiler '):
|
||||||
args = d.getVar(compiler).split()
|
args = d.getVar(compiler).split()
|
||||||
|
|||||||
Reference in New Issue
Block a user