mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Defaulting CC->cc and CXX->c++ for better cross platform support
This commit is contained in:
parent
d1124f3040
commit
5ee59c377a
1 changed files with 2 additions and 2 deletions
|
@ -311,8 +311,8 @@ os_env() ->
|
||||||
|
|
||||||
default_env() ->
|
default_env() ->
|
||||||
[
|
[
|
||||||
{"CC", "gcc"},
|
{"CC", "cc"},
|
||||||
{"CXX", "g++"},
|
{"CXX", "c++"},
|
||||||
{"ERL_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include),
|
{"ERL_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include),
|
||||||
" -I", filename:join(erts_dir(), include),
|
" -I", filename:join(erts_dir(), include),
|
||||||
" "])},
|
" "])},
|
||||||
|
|
Loading…
Reference in a new issue