[CRIU] [PATCH] make-compel: Add CC=gcc
Radostin Stoyanov
rstoyanov1 at gmail.com
Thu Apr 11 01:27:52 MSK 2019
$ sudo make install PREFIX=/usr
...
make: [Makefile.compel:73: compel/libcompel.so] Error 127 (ignored)
CC compel/arch/x86/src/lib/handle-elf.o
CC compel/src/lib/handle-elf.o
CC compel/src/main.o
LINK compel/built-in.o
LINK compel/compel
make: O2: Command not found
make: [Makefile.compel:66: compel/compel] Error 127 (ignored)
make[1]: *** No rule to make target 'compel/compel', needed by 'install'. Stop.
make: *** [Makefile.install:44: install-compel] Error 2
Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
Makefile.compel | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.compel b/Makefile.compel
index 764afadc8..89dddd19c 100644
--- a/Makefile.compel
+++ b/Makefile.compel
@@ -1,3 +1,4 @@
+CC=gcc
COMPEL_BIN := ./compel/compel-host
export COMPEL_BIN
--
2.20.1
More information about the CRIU
mailing list