diff options
author | Frank Hunleth <[email protected]> | 2016-10-07 17:40:05 -0400 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-09 00:09:27 +0200 |
commit | c849da35563a2fef207fa824bc89dc01e7a5e96f (patch) | |
tree | de822e40d713e78224368898842716b59c8e44f4 /plugins | |
parent | 833fc7b75116322757b0f2c30d25c65124fee7a5 (diff) | |
download | erlang.mk-c849da35563a2fef207fa824bc89dc01e7a5e96f.tar.gz erlang.mk-c849da35563a2fef207fa824bc89dc01e7a5e96f.tar.bz2 erlang.mk-c849da35563a2fef207fa824bc89dc01e7a5e96f.zip |
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.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions