Support C compiler flag overrides for dependencies
Support C compiler flag overrides for dependencies

This change makes it possible to override the ERL_CFLAGS and ERL_LDFLAGS
Makefile variables in project dependencies. For the main project, the
ability to override variables associated with C compilation already
existed in plugins/c_src.mk. With this change, the C compiler flag
semantics are similar for both the main project and dependencies.

This is important for cases where the automatically determined values
for the ERTS include and library directories are incorrect. This happens
in cross-compiled environments where they point to the host's include
and library directories. However, the desired behaviour is to have them
point to those that have been cross-compiled for the target.

jj1bdx/erlang.mk,nevar/erlang.mk,ingwinlu/erlang.mk,hairyhum/erlang.mk,crownedgrouse/erlang.mk,ninenines/erlang.mk,rabbitmq/erlang.mk