mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
plugins/amdgpu: fix cross-compilation
To enable cross-compile we need to use the CC definition from criu/scripts/nmk/scripts/tools.mk: CC := $(CROSS_COMPILE)$(HOSTCC) Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
9a19cf34de
commit
2ee5844411
1 changed files with 0 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ DEPS_NOK := ;
|
|||
__nmk_dir ?= ../../scripts/nmk/scripts/
|
||||
include $(__nmk_dir)msg.mk
|
||||
|
||||
CC := gcc
|
||||
PLUGIN_CFLAGS := -g -Wall -Werror -D _GNU_SOURCE -shared -nostartfiles -fPIC -DCR_PLUGIN_DEFAULT="$(PLUGINDIR)"
|
||||
PLUGIN_LDFLAGS := -lpthread -lrt -ldrm -ldrm_amdgpu
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue