summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-07-12 08:36:11 -0600
committerDave Smith <dizzyd@dizzyd.com>2010-07-12 08:36:11 -0600
commit5ee59c377ab136ca68a8c634ffe38b0f39b3d1f8 (patch)
treee945716db57c7a2300e72e8bbc8724e2d37e4cfb
parentd1124f30407a7a40a95f239e7143be56cbf3ca32 (diff)
Defaulting CC->cc and CXX->c++ for better cross platform support
-rw-r--r--src/rebar_port_compiler.erl4
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),
" "])},