[CRIU] [PATCHv2] tools.mk: Define CC if not set to 'default'

Radostin Stoyanov rstoyanov1 at gmail.com
Thu Apr 18 22:29:30 MSK 2019


On 18/04/2019 18:28, Andrei Vagin wrote:
> What problem are you solving? Do we have a github issue for this?

$ 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

No, I didn't open a github issue. The change in this patch is
complementary to commit

https://github.com/checkpoint-restore/criu/commit/7428b3794ac09cf6a546c0a51f92800f52b7daeb

Do you think that this information should have been included in the
commit message?

Thanks,
Radostin


More information about the CRIU mailing list