[CRIU] [PATCH] make-compel: Add CC=gcc
Zhang, Ning A
ning.a.zhang at intel.com
Thu Apr 11 04:46:16 MSK 2019
No, this will break Clang compiler.
在 2019-04-10三的 23:27 +0100,Radostin Stoyanov写道:
> $ 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
>
More information about the CRIU
mailing list