diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2010-07-12 08:36:11 -0600 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2010-07-12 08:36:11 -0600 |
commit | 5ee59c377ab136ca68a8c634ffe38b0f39b3d1f8 (patch) | |
tree | e945716db57c7a2300e72e8bbc8724e2d37e4cfb /src | |
parent | d1124f30407a7a40a95f239e7143be56cbf3ca32 (diff) |
Defaulting CC->cc and CXX->c++ for better cross platform support
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_port_compiler.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl index ae883e7..de3950e 100644 --- a/src/rebar_port_compiler.erl +++ b/src/rebar_port_compiler.erl @@ -311,8 +311,8 @@ os_env() -> default_env() -> [ - {"CC", "gcc"}, - {"CXX", "g++"}, + {"CC", "cc"}, + {"CXX", "c++"}, {"ERL_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include), " -I", filename:join(erts_dir(), include), " "])}, |