diff options
Diffstat (limited to 'recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch')
| -rw-r--r-- | recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch b/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch new file mode 100644 index 00000000..0ccd6989 --- /dev/null +++ b/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 816cad363c3c17636d8c6424578c3c70f0e87624 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 3 | Date: Thu, 3 Apr 2025 17:48:44 +0000 | ||
| 4 | Subject: [PATCH] plugins/cuda: pass DEBUG_PREFIX_MAP | ||
| 5 | |||
| 6 | If we don't explicitly pass the debug prefix map to the build | ||
| 7 | QA errors result in the debug package (host path). | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 10 | |||
| 11 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 12 | --- | ||
| 13 | plugins/cuda/Makefile | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/plugins/cuda/Makefile b/plugins/cuda/Makefile | ||
| 17 | index cc3d98ac9..aac9027a7 100644 | ||
| 18 | --- a/plugins/cuda/Makefile | ||
| 19 | +++ b/plugins/cuda/Makefile | ||
| 20 | @@ -19,7 +19,7 @@ all: $(DEPS_CUDA) | ||
| 21 | |||
| 22 | cuda_plugin.so: cuda_plugin.c | ||
| 23 | $(call msg-gen, $@) | ||
| 24 | - $(Q) $(CC) $(PLUGIN_CFLAGS) $(shell $(COMPEL) includes) $^ -o $@ $(PLUGIN_INCLUDE) $(PLUGIN_LDFLAGS) | ||
| 25 | + $(Q) $(CC) $(PLUGIN_CFLAGS) $(DEBUG_PREFIX_MAP) $(shell $(COMPEL) includes) $^ -o $@ $(PLUGIN_INCLUDE) $(PLUGIN_LDFLAGS) | ||
| 26 | |||
| 27 | clean: | ||
| 28 | $(call msg-clean, $@) | ||
| 29 | -- | ||
| 30 | 2.43.0 | ||
| 31 | |||
