mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-31 20:37:58 +00:00
cuda.bbclass: strip -fcanon-prefix-map from DEBUG_FLAGS for cuda builds
Unfortunately, we don't have a good way of stripping that flag just from the nvcc/gcc-8 invocations. For now, at least, just remove it entirely for all cuda builds. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -14,6 +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"
|
||||||
|
|
||||||
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