[CRIU] [PATCH] make-compel: Add CC=gcc

Radostin Stoyanov rstoyanov1 at gmail.com
Thu Apr 11 11:17:08 MSK 2019


Ok, any ideas for alternative solution?

On 11/04/2019 02:46, Zhang, Ning A wrote:
> 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