On 05/16/2016 09:33, Denys Rtveliashvili wrote:

Unfortunately CC = gcc did not work.
I figured it out at last. The correct incantation is:

COMPONENT_BUILD_ARGS += CC=gcc


Hi.
Usually you have to do something like
COMPONENT_BUILD_ENV += CC="$(CC)"
COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"


note, CC="$(CC)" will ensure that correct gcc is used, as gcc symlinks are mediated and you can't rely on gcc in oi-userland Makefiles (it can be anything starting from 3.4 to 5.3).

--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev

Reply via email to